asgerf/light-refactor.js — pull request #2 by xiemaisi (2013-12-23 16:26:28+00:00)
Title: Fix handling of array expressions with omitted elements.

Array expressions with omitted elements (i.e., something like `[23, , 42]`) are represented as `ArrayExpression` nodes with `null` children in Esprima. This PR adds some extra nullness checks to handle this case.