wallet-core/node_modules/es5-ext/array/_is-extensible.js
2017-08-14 05:02:09 +02:00

14 lines
292 B
JavaScript

"use strict";
module.exports = (function () {
var SubArray = require("./_sub-array-dummy"), arr;
if (!SubArray) return false;
arr = new SubArray();
if (!Array.isArray(arr)) return false;
if (!(arr instanceof SubArray)) return false;
arr[34] = "foo";
return arr.length === 35;
}());