get keys of array js code example
Example 1: js countKeys
let count = Object.keys(myobj).length
Example 2: get keys length jquery
var a= {"a":"a", "b":"b"};
Object.keys(a).length;
//output length: 2
let count = Object.keys(myobj).length
var a= {"a":"a", "b":"b"};
Object.keys(a).length;
//output length: 2