3
0
Fork 0
mirror of https://gitea.com/actions/setup-python.git synced 2024-11-22 18:19:35 +01:00
setup-python/node_modules/es-abstract/es2016.js
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00

16 lines
454 B
JavaScript

'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;