blog.wolftankk.com
Get the real type in javascript
In javascript, we can use “type” function to get the type of an element (e.g “aa”, [], {}, 1, true, null, undefined, function, global), but get an array’s type. it ret…