Baseline Widely available
values()
㯠Set
ã¤ã³ã¿ã¼ãã§ã¤ã¹ã®ã¡ã½ããã§ãéåã®æ°ããã¤ãã¬ã¼ã¿ã¼ãªãã¸ã§ã¯ããè¿ãã¾ããããã¯ãã®éåã®ããããã®è¦ç´ ãã®å¤ãæ¿å
¥é ã«è¿ãã¾ãã
const set1 = new Set();
set1.add(42);
set1.add("forty two");
const iterator1 = set1.values();
console.log(iterator1.next().value);
// Expected output: 42
console.log(iterator1.next().value);
// Expected output: "forty two"
æ§æ 弿°
ãªãã
è¿å¤æ°ããå復å¯è½ãªã¤ãã¬ã¼ã¿ã¼ãªãã¸ã§ã¯ãã§ãã
ä¾ values() ã®ä½¿ç¨const mySet = new Set();
mySet.add("foo");
mySet.add("bar");
mySet.add("baz");
const setIter = mySet.values();
console.log(setIter.next().value); // "foo"
console.log(setIter.next().value); // "bar"
console.log(setIter.next().value); // "baz"
仿§æ¸ ãã©ã¦ã¶ã¼ã®äºææ§ é¢é£æ
å ±
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4