Baseline Widely available
Set
ì¸ì¤í´ì¤ì 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