Posted on Sep 29, 2012 by
Quick Rabbit
Check for the following case.
If a ternary operator has another ternary operator immediately in either 'consequent' or 'alternate' branch.
Comment #1
Posted on Sep 29, 2012 by Quick RabbitAn example to detect nested ternary conditionals. https://github.com/ariya/esprima/commit/b4eb1b6359
Status: Fixed
Labels:
Type-Enhancement
Priority-Medium
Milestone-Release1.0
Component-Example