The JavaScript exception "right-hand side of 'in' should be an object" occurs when the
in operator
was used to search in strings, or in Numbers, or other primitive types. It can only be
used to check if a property is in an object....to search in strings, or in numbers, or other primitive types....can't search in strings, or in numbers, or other primitive types....