Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015년 9월.
WeakSet인스턴스의 has() 메서드는 어떤 객체가 이 WeakSet에 있는지 여부를 가리키는 부울을 반환합니다.
이 WeakSet에서 존재를 시험할 값
이 WeakSet에서 특정 값의 요소가 존재한다면 true를 반환하며, 그렇지 않을 경우에는 false를 반환합니다. value가 객체가 아니거나 혹은 등록되지 않은 심볼일 경우 언제나 false를 반환합니다.
| ECMAScript® 2027 Language Specification # sec-weakset.prototype.has |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2025년 2월 11일 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.