- 'use strict';
- var callBound = require('call-bind/callBound');
- var $NumberValueOf = callBound('Number.prototype.valueOf');
- module.exports = function thisNumberValue(value) {
- if (typeof value === 'number') {
- return value;
- }
- return $NumberValueOf(value);
- };
|