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년 7월.
has() 메서드는 지정된 키를 가진 요소가 WeakMap 객체에 존재하는지를 나타내는 불리언 값을 반환합니다.
필수로 요구되며, WeakMap 객체에서 존재 여부를 테스트할 요소의 키입니다.
WeakMap 객체에 지정된 키를 가진 요소가 있으면 true를 반환하고, 그렇지 않으면 false를 반환합니다.
| ECMAScript® 2027 Language Specification # sec-weakmap.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.