Removed protections against user code redefining undefined
Jasmine hasn't even run on platforms that allowed redefining undefined since 2.x.
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
getJasmineRequireObj().util = function(j$) {
|
||||
const util = {};
|
||||
|
||||
util.isUndefined = function(obj) {
|
||||
return obj === void 0;
|
||||
};
|
||||
|
||||
util.clone = function(obj) {
|
||||
if (Object.prototype.toString.apply(obj) === '[object Array]') {
|
||||
return obj.slice();
|
||||
|
||||
Reference in New Issue
Block a user