Skip to content

Commit d7abc4e

Browse files
authored
mention 402 convention
1 parent dd616a5 commit d7abc4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

normative-conventions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ NB: This convention is new as of 2024, and most earlier parts of the language do
5151
I.e., lowercase and dash-delimited. For example, `Atomics.wait` returns one of the three strings `"not-equal"`, `"ok"`, or `"timed-out"`, and `Uint8Array.prototype.setFromBase64` takes an argument with possible values `"loose"`, `"strict"`, or `"stop-before-partial"`.
5252

5353
The pieces between the dashes should generally be alphanumeric.
54+
55+
ECMA-402 has historically followed [a different convention](https://github.com/tc39/ecma402/blob/main/docs/style-guide.md#identifiers-defined-by-ecma-402); as such this convention does not automatically apply to enums defined in that specification.

0 commit comments

Comments
 (0)