Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hpinkos committed Oct 18, 2018
1 parent 4723ecd commit 2ff95d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Specs/addDefaultMatchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2ff95d3

Please sign in to comment.