There are numerous examples of yoda conditionals in the jQuery code base. Whatever results in a smaller byte size.