refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
13
home/ags/node_modules/es-abstract/2018/thisBooleanValue.js
generated
vendored
13
home/ags/node_modules/es-abstract/2018/thisBooleanValue.js
generated
vendored
|
|
@ -1,13 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
var $BooleanValueOf = require('call-bind/callBound')('Boolean.prototype.valueOf');
|
||||
|
||||
// https://262.ecma-international.org/6.0/#sec-properties-of-the-boolean-prototype-object
|
||||
|
||||
module.exports = function thisBooleanValue(value) {
|
||||
if (typeof value === 'boolean') {
|
||||
return value;
|
||||
}
|
||||
|
||||
return $BooleanValueOf(value);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue