Technical Solutions
Tuesday, 5 December 2017
key and value
var a = {"cat":"large", "dog": "small", "bird": "tiny"};
Object.keys(a).map(function (k, v){
console.log(k, '==',a[k]);
});
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment