Fix #225: provide an equivalent of JS' `typeof x`.

It is introduced as `js.typeOf(x)`.
Merge pull request #236 from sjrd/equivalent-of-typeof-in-package

Fix #225: provide an equivalent of JS' `typeof x`.