iterade dict javacirpt

Solutions on MaxInterview for iterade dict javacirpt by the best coders in the world

showing results for - "iterade dict javacirpt"
Aron
21 Mar 2016
1const object = {'a': 1, 'b': 2, 'c' : 3};
2
3for (const [key, value] of Object.entries(object)) {
4  console.log(key, value);
5}