How can I quickly retrieve a value from a MapIterator returned from Object.keys function?

Assuming you are using native Map‘s and it’s ok to use ES6, you can use the spread operator to expand Map.keys()

const keys = [...RULE_TABLE.keys()]

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)