expose typeof via emscripten::val
Merge pull request #2360 from chadaustin/expose-val-typeof

expose typeof via emscripten::val