Array.isArray vs instanceof.
const arr = [];
Initializing...
Array.isArray(arr);
arr instanceof Array;
Object.prototype.toString.call(arr) === '[object Array]';
You can edit these tests or add more tests to this page by appending /edit to the URL.