Baseline 2024
Newly available
ArrayBuffer
ì¸ì¤í´ì¤ì resizable
ì ê·¼ì ìì±ì ë°°ì´ ë²í¼ê° í¬ê¸° ì¡°ì ì´ ê°ë¥íì§ ë¶ê°íì§ ì¬ë¶ë¥¼ ë°íí©ëë¤.
const buffer1 = new ArrayBuffer(8, { maxByteLength: 16 });
const buffer2 = new ArrayBuffer(8);
console.log(buffer1.resizable);
// Expected output: true
console.log(buffer2.resizable);
// Expected output: false
ì¤ëª
resizeable
ìì±ì ì¤ì ì ê·¼ì í¨ìê° undefined
ì¸ ì ê·¼ì ìì±ì¼ë¡ ì´ ìì±ì ì½ì ì ë§ ììµëë¤. ì´ ê°ì ë°°ì´ì´ ìì±ë ë ì¤ì ë©ëë¤. ìì±ììì maxByteLength
ìµì
ì ì¤ì íë¤ë©´ resizeable
ì true
를 ë°ííê³ ê·¸ë ì§ ìì¼ë©´ false
를 ë°íí©ëë¤.
ì´ ìì ììë ìµë 16ë°ì´í¸ 길ì´ë¡ í¬ê¸°ë¥¼ ì¡°ì í ì ìë 8ë°ì´í¸ ë²í¼ë¥¼ ë§ë ë¤ì resizable
ìì±ì íì¸íê³ resizable
ì´ true
를 ë°ííë©´ í¬ê¸°ë¥¼ ì¡°ì í©ëë¤.
const buffer = new ArrayBuffer(8, { maxByteLength: 16 });
if (buffer.resizable) {
console.log("Buffer is resizable!");
buffer.resize(12);
}
ëª
ì¸ì ë¸ë¼ì°ì í¸íì± ê°ì´ 보기
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4