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 2020년 1월.
Symbol 값의 description 접근자 속성은 이 심볼에 대한 설명이 포함된 문자열을 반환하거나 설명이 없는 경우 undefined를 반환합니다.
Symbol 객체는 디버깅에 사용할 수 있지만 심볼 자체에 접근하는 데는 사용할 수 없는 선택적인 설명과 함께 생성할 수 있습니다. Symbol.prototype.description 속성은 해당 설명을 읽는 데 사용할 수 있습니다. 이 속성은 둘러싸는 "Symbol()" 문자열을 포함하지 않으므로 Symbol.prototype.toString()과 다릅니다. 예제를 참조하세요.
| ECMAScript® 2027 Language Specification # sec-symbol.prototype.description |
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.