diff options
Diffstat (limited to 'node_modules/es-abstract/2018/ToBoolean.js')
-rw-r--r-- | node_modules/es-abstract/2018/ToBoolean.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/es-abstract/2018/ToBoolean.js b/node_modules/es-abstract/2018/ToBoolean.js new file mode 100644 index 000000000..65d87376d --- /dev/null +++ b/node_modules/es-abstract/2018/ToBoolean.js @@ -0,0 +1,5 @@ +'use strict'; + +// http://www.ecma-international.org/ecma-262/5.1/#sec-9.2 + +module.exports = function ToBoolean(value) { return !!value; }; |