Should use `Array.isArray` instead: http://perfectionkills.com/instanceof-considered-harmful-or-how-to-write-a-robust-isarray/