Skip to content
Snippets Groups Projects
detachArrayBuffer.js 212 B
Newer Older
  • Learn to ignore specific revisions
  • function $DETACHBUFFER(buffer) {
    
      if (!$262 || typeof $262.detachArrayBuffer !== "function") {
    
        throw new Test262Error("No method available to detach an ArrayBuffer");
      }
    
      $262.detachArrayBuffer(buffer);