mirror of
https://github.com/tc39/test262.git
synced 2025-10-18 14:23:54 +02:00
7 lines
203 B
JavaScript
7 lines
203 B
JavaScript
function $DETACHBUFFER(buffer) {
|
|
if (!$ || typeof $.detachArrayBuffer !== "function") {
|
|
throw new Test262Error("No method available to detach an ArrayBuffer");
|
|
}
|
|
$.detachArrayBuffer(buffer);
|
|
}
|