dockerized_openAger/nodered/rootfs/data/node_modules/es-abstract/5/ToNumber.js

8 lines
182 B
JavaScript
Raw Normal View History

2020-10-17 16:42:50 +00: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
};