I\'m working on a codecademy.com exercise where we use for-in statements to loop through an object and print hello in different languages by checking to see if the values of the
"string" is not the same as String. I've found one way to test typeof for string.
if (typeof something === typeof "test") ...
You can of course use "string" to compare to, but any actual String will do.