List object keys - Node.js Object

Node.js examples for Object:Property

Description

List object keys

Demo Code

 
Object.keys = Object.keys || function(o) {
  var a = []//from  w  w  w.  j  ava  2 s  . co  m
  for (var k in o) a.push(k)
  return a
}

Related Tutorials