Question: how to check if a javascript object?
Answer: "[object Object]" if myVar is an object. "[object Array]" if myVar is an array. etc.