mirror of
https://github.com/thangisme/notes.git
synced 2024-11-20 02:46:00 -05:00
4 lines
120 B
JavaScript
4 lines
120 B
JavaScript
|
module.exports = Array.isArray || function (arr) {
|
||
|
return Object.prototype.toString.call(arr) == '[object Array]';
|
||
|
};
|