Closed Raynos closed 10 years ago
Does this just add the labeled function syntax or also remove the named function syntax? I like the consistency that the label syntax introduces.
On another read-through, answered my own question: it removes named functions in favor of consistent labels.
Any type can be labeled using the labeling syntax. We should favor labeling function over the named function syntax.
This is kind of like only using
var foo = function () {}
and no function declarations.Favoring the label syntax removes a permutation from jsig and simplifies it.
cc @jden @Matt-Esch