This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
futureName ternary operator syntax incorrect #4315
Closed
Description
from angular.js / src / ngScenario / dsl.js : lines 441-443
futureName = (args.length == 0)
? "element '" + this.label + "' " + methodName
: futureName = "element '" + this.label + "' set " + methodName + " to '" + value + "'";
futureName declaration in ternary operator is redundant. code should be:
futureName = (args.length == 0)
? "element '" + this.label + "' " + methodName
: "element '" + this.label + "' set " + methodName + " to '" + value + "'";
Metadata
Metadata
Assignees
Labels
No labels