how to check length of dictionary with node.js code example
Example: length of dict js
// check length of dictionary
let dict = {a:1 , b:2 , c:3}
console.log(Object.keys(dict).length) // expected result : 3
// check length of dictionary
let dict = {a:1 , b:2 , c:3}
console.log(Object.keys(dict).length) // expected result : 3