Hacker News new | ask | show | jobs
by wging 4646 days ago

     > typeof ["a", "b"]

    "object"
Of course, since you're told you'll only get numbers, arrays, and strings, that is enough to solve the problem narrowly.