-var classof = require('../internals/classof-raw');
+var uncurryThis = require('../internals/function-uncurry-this');
// `thisNumberValue` abstract operation
// https://tc39.es/ecma262/#sec-thisnumbervalue
-module.exports = function (value) {
- if (typeof value != 'number' && classof(value) != 'Number') {
- throw TypeError('Incorrect invocation');
- }
- return +value;
-};
+module.exports = uncurryThis(1.0.valueOf);