katoikia-app/web-ui/web-react/node_modules/es5-ext/array/_is-extensible.js

15 lines
296 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
"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;
})();