The types should match the grammar, which this PR achieves. It also seems reasonable for the grammar to match the spelling from the ECMA spec given the overlap. Alternatively, I'm fine with changing everything in the other direction, from Labelled to Labeled.
I prefer American English and "labeled" as well, but I was trying to match this unchanged code:
The types should match the grammar, which this PR achieves. It also seems reasonable for the grammar to match the spelling from the ECMA spec given the overlap. Alternatively, I'm fine with changing everything in the other direction, from Labelled to Labeled.