Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
Set() コンストラクターは Set オブジェクトを生成します。
反復可能オブジェクトが渡された場合は、そのすべての要素が新しい Set に加えられます。
この引数を指定しなかった場合、または値が null だった場合、新しい Set は空になります。
新しい Set オブジェクトです。
| ECMAScript® 2027 Language Specification # sec-set-constructor |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025年8月18日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.