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
‹
›
Home
View web version
No comments:
Post a Comment