You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
454 B
16 lines
454 B
'use strict'; |
|
|
|
var ES2015 = require('./es2015'); |
|
var assign = require('./helpers/assign'); |
|
|
|
var ES2016 = assign(assign({}, ES2015), { |
|
// https://github.com/tc39/ecma262/pull/60 |
|
SameValueNonNumber: function SameValueNonNumber(x, y) { |
|
if (typeof x === 'number' || typeof x !== typeof y) { |
|
throw new TypeError('SameValueNonNumber requires two non-number values of the same type.'); |
|
} |
|
return this.SameValue(x, y); |
|
} |
|
}); |
|
|
|
module.exports = ES2016;
|
|
|