6 ms·
Are you sure? > function isboxed() { return this instanceof Number; } > isboxed.call(5); true
by implicit 11y ago
Are you sure?
> function isboxed() { return this instanceof Number; }
> isboxed.call(5);
true
- CrossEye 11y agoas inglor said, this depends on strict mode: > var isboxed = (function() {"use strict"; return function isboxed() {return this instanceof Number;}}()); > isboxed.call(5); false