HLRosenberger
asked on
Help with Javascript syntax
Could someone tell me what this line of code does? What does the "===" operator do? What about the question mark?
.attr(direction === 'right' ? 'x2' : 'x1', x);
.attr(direction === 'right' ? 'x2' : 'x1', x);
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks so much!
ASKER