Get to know MDN better
This page was translated from English by the community. Learn more and join the MDN Web Docs community.
Since July 2024, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
ArrayBuffer 인스턴스의 resizable 접근자 속성은 배열 버퍼가 크기 조정이 가능한지 불가한지 여부를 반환합니다.
resizeable 속성은 설정 접근자 함수가 undefined인 접근자 속성으로 이 속성은 읽을 수 만 있습니다. 이 값은 배열이 생성될 때 설정됩니다. 생성자에서 maxByteLength 옵션을 설정했다면 resizeable은 true를 반환하고 그렇지 않으면 false를 반환합니다.
이 예제에서는 최대 16바이트 길이로 크기를 조정할 수 있는 8바이트 버퍼를 만든 다음 resizable 속성을 확인하고 resizable이 true를 반환하면 크기를 조정합니다.
| ECMAScript® 2027 Language Specification # sec-get-arraybuffer.prototype.resizable |
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.