Answers for "going through every attributes of an object javascript"

0

going through every attributes of an object javascript

let a = {x: 200, y: 1}
let attributes = Object.keys(a)
console.log(attributes)
//output: ["x", "y"]
Posted by: Guest on April-09-2020

Code answers related to "going through every attributes of an object javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language