Array.primitives()

Revision as of 01:42, 4 May 2020 by Devika (talk | contribs) (→‎Array.primitives())
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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