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
|
* Shallowly checks to see if the passed `node` is falsy.
|
||||||
* falsy. This is if `node` is a `Literal` and `value` is falsy or
|
|
||||||
* `node` is an `Identifier` with a name of `undefiend`.
|
|
||||||
*
|
*
|
||||||
* @param {Object} node
|
* @param {Object} node
|
||||||
* @returns {Boolean}
|
* @returns {Boolean}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user