From c35f041091ef70a0620080a7fab6447f2c9e22e8 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Wed, 4 Feb 2015 08:25:40 +1100 Subject: [PATCH] simplify to.isFalsyExpression method --- lib/6to5/types/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/6to5/types/index.js b/lib/6to5/types/index.js index d874496bdd..d58fbf1372 100644 --- a/lib/6to5/types/index.js +++ b/lib/6to5/types/index.js @@ -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}