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