Replace isArray helper with native Array.isArray
This commit is contained in:
@@ -5,7 +5,7 @@ jasmineRequire.htmlReporterUtils = function(j$) {
|
||||
const el = document.createElement(type);
|
||||
let children;
|
||||
|
||||
if (j$.private.isArray(childrenArrayOrVarArgs)) {
|
||||
if (Array.isArray(childrenArrayOrVarArgs)) {
|
||||
children = childrenArrayOrVarArgs;
|
||||
} else {
|
||||
children = [];
|
||||
|
||||
Reference in New Issue
Block a user