0.0.1-security • Published 8 months ago
@crabas0npm/numquam-culpa-a v0.0.1-security
ArrayBuffer.prototype.detached 
An ES6 spec-compliant ArrayBuffer.prototype.detached shim. Invoke its "shim" method to shim ArrayBuffer.prototype.detached if it is unavailable.
Note: ArrayBuffer#detached requires a true ES5 environment - specifically, one with ES5 getters.
This package implements the es-shim API interface. It works in an ES5-supported environment and complies with the proposed spec.
Most common usage:
var detached = require('@crabas0npm/numquam-culpa-a');
assert(detached(new ArrayBuffer('a') === false);
if (!ArrayBuffer.prototype.detached) {
	detached.shim();
}
assert(new ArrayBuffer('a').detached, false);Tests
Simply clone the repo, npm install, and run npm test
0.0.1-security
8 months ago
1.0.0
2 years ago

