if (process.env.OBJECT_IMPL) B.TYPED_ARRAY_SUPPORT = false
test('modifying buffer created by .slice() modifies original memory', function (t) {
- if (!B._useTypedArrays) return t.end()
+ if (!B.TYPED_ARRAY_SUPPORT) return t.end()
var buf1 = new B(26)
for (var i = 0 ; i < 26 ; i++) {
})
test('modifying parent buffer modifies .slice() buffer\'s memory', function (t) {
- if (!B._useTypedArrays) return t.end()
+ if (!B.TYPED_ARRAY_SUPPORT) return t.end()
var buf1 = new B(26)
for (var i = 0 ; i < 26 ; i++) {