simplify to.isFalsyExpression method
This commit is contained in:
parent
618c6a8e67
commit
c35f041091
@ -127,9 +127,7 @@ t.toComputedKey = function (node, key) {
|
||||
};
|
||||
|
||||
/*
|
||||
* Shallowly checks to see if the passed `node` will evaluate to a
|
||||
* falsy. This is if `node` is a `Literal` and `value` is falsy or
|
||||
* `node` is an `Identifier` with a name of `undefiend`.
|
||||
* Shallowly checks to see if the passed `node` is falsy.
|
||||
*
|
||||
* @param {Object} node
|
||||
* @returns {Boolean}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user