Array.primitives()

From ZCubes Wiki
Revision as of 02:42, 4 May 2020 by Devika (talk | contribs) (→‎Array.primitives())
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)


See Also

prefix

suffix