does every key in a object need a value javascript code example
Example 1: js object keys
var myObj = {no:'u',my:'sql'}
var keys = Object.keys(myObj);//returnes the array ['no','my'];
Example 2: js create object with properties
var mycar = new Car('Eagle', 'Talon TSi', 1993);