We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 306986d commit d4cb0c4Copy full SHA for d4cb0c4
src/traces/carpet/map_2d_array.js
@@ -18,7 +18,7 @@ var isArrayOrTypedArray = require('../../lib').isArrayOrTypedArray;
18
module.exports = function mapArray(out, data, func) {
19
var i, j;
20
21
- if(!isArrayOrTypedArray(out)) {
+ if(!Array.isArray(out)) {
22
// If not an array, make it an array:
23
out = [];
24
} else if(out.length > data.length) {
0 commit comments