Answers for "for ( i--) in javascript"

4

for in javascript

for (let i = start; i < end; i++) {

}
Posted by: Guest on October-05-2020
0

for in and for of in js

let iterable = new Map([["a", 1], ["b", 2], ["c", 3]]);

for (let entry of iterable) {
  console.log(entry);
}
// [a, 1]
// [b, 2]
// [c, 3]

for (let [key, value] of iterable) {
  console.log(value);
}
// 1
// 2
// 3
Posted by: Guest on September-29-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language