• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2
3var ES2015 = require('./es2015');
4var assign = require('./helpers/assign');
5
6var ES2016 = assign(assign({}, ES2015), {
7	// https://github.com/tc39/ecma262/pull/60
8	SameValueNonNumber: function SameValueNonNumber(x, y) {
9		if (typeof x === 'number' || typeof x !== typeof y) {
10			throw new TypeError('SameValueNonNumber requires two non-number values of the same type.');
11		}
12		return this.SameValue(x, y);
13	}
14});
15
16module.exports = ES2016;
17