ariya/esprima — comment on commit 7443627e036ab6e018627ebfdf7087bf82f6bdc4
File: esprima.js line 180
By jdalton:

Interesting way to handle the `'x'[0]` issue.

I think you can remove this condition:
https://github.com/ariya/esprima/blob/7443627e036ab6e018627ebfdf7087bf82f6bdc4/esprima.js#L2944