github-pages-deploy-action/node_modules/es-abstract/5/ToNumber.js

8 lines
182 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
'use strict';
// http://www.ecma-international.org/ecma-262/5.1/#sec-9.3
module.exports = function ToNumber(value) {
return +value; // eslint-disable-line no-implicit-coercion
};