Skip to content
1 change: 1 addition & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2206,6 +2206,7 @@ Use strings as the values for constants or sets of enumerated values.

Strings make it easier for developers to inspect values
and read code that uses those values.
As such, avoid abbreviations as they can make code harder to read.
In JavaScript engines there is no performance benefit
to using integers instead of strings.
The values of a [WebIDL enum type](https://webidl.spec.whatwg.org/#idl-enums)
Expand Down