mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-23 20:26:28 +00:00
15 lines
296 B
JavaScript
15 lines
296 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;
|
|
})();
|