javascript-questions icon indicating copy to clipboard operation
javascript-questions copied to clipboard

FYI in q34 is wrong

Open Vendicated opened this issue 4 years ago • 0 comments

it claims 'null' is a type, but it isn't. typeof null is 'object'. additionally it claims that function is not a type but it is. typeof (() => 0) returns 'function'

bigint should also be included as type

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof#description

Vendicated avatar May 27 '21 06:05 Vendicated