Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

for of mdn

let iterable = new Set([1, 1, 2, 2, 3, 3]);

for (let value of iterable) {
  console.log(value);
}
// 1
// 2
// 3
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #mdn
ADD COMMENT
Topic
Name
9+8 =