Array.primitives()
Array.primitives()
- Returns the primitive values of objects in the array.
typeof [new String("TEST"),new Boolean(true)].primitives()[0]
string
(not String Object)
typeof [new String("TEST"),new Boolean(true)].primitives()[0]
string
(not String Object)