News India Times

Category : Agency News

Agency News

Get Keys of the Object

cradmin
For JavaScript Object, in order to get keys, values, and entries we use Object.keys, Object.values, and Object.entries. Object.keys(obj) – returns all the keys of object as array Object.values(obj) – returns...