From 2ff95d32e9b767e1844b63a042203c6c60c8dd90 Mon Sep 17 00:00:00 2001 From: hpinkos Date: Thu, 18 Oct 2018 11:52:19 -0400 Subject: [PATCH] cleanup --- Specs/addDefaultMatchers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Specs/addDefaultMatchers.js b/Specs/addDefaultMatchers.js index 1a0eb61952cb..366209b00caf 100644 --- a/Specs/addDefaultMatchers.js +++ b/Specs/addDefaultMatchers.js @@ -608,7 +608,7 @@ define([ } function typedArrayToArray(array) { - if (array !== null && typeof array === 'object' && isTypedArray(array)) { + if (isTypedArray(array)) { return Array.prototype.slice.call(array, 0); } return array;