mirror of
https://github.com/tc39/test262.git
synced 2025-05-16 12:50:37 +02:00
7 lines
212 B
JavaScript
7 lines
212 B
JavaScript
function $DETACHBUFFER(buffer) {
|
|
if (!$262 || typeof $262.detachArrayBuffer !== "function") {
|
|
throw new Test262Error("No method available to detach an ArrayBuffer");
|
|
}
|
|
$262.detachArrayBuffer(buffer);
|
|
}
|