Total WebSite Views Count

Object.keys, values, entries In Javascripts

For plain objects, the following methods are available in Javascript

  • Object.keys(obj) – returns an array of keys.
  • Object.values(obj) – returns an array of values.
  • Object.entries(obj) – returns an array of [key, value] pairs.

For instance:
let user = {
  name: "Technical Architect",
  age: 30
};
  • Object.keys(user) = ["name", "age"]
  • Object.values(user) = ["Technical Architect", 30]
  • Object.entries(user) = [ ["name","Technical Architect"], ["age",30] ]

AWS Services

AWS Services

Technology Selection & Evaluation Criteria

Technology Selection & Evaluation Criteria

Scale Cube - Scale In X Y Z Cube

Scale Cube - Scale In X Y Z Cube

Feature Post

AWS Services

About Me

About Me

Spring Cloud

Spring Cloud
Spring Cloud

Spring Cloud +mCloud Native + Big Data Archittect

Spring Cloud +mCloud Native + Big Data Archittect

ACID Transaction

ACID Transaction

Data Pipe Line Stack

Data Pipe Line Stack

Popular Posts