[heycam/webidl] Documentation about IDL keyword escaping says trailing, not leading (#733)

docs/index.bs:

> For example, IDL terms that match an IDL keyword must be defined in IDL with a trailing underscore, to avoid grammatical ambiguities, but actually define the term without the underscore. You can link to the term with either syntax.

But [Web IDL](https://heycam.github.io/webidl/#idl-names) sayeth:

> A leading "_" is used to escape an identifier from looking like a reserved word so that, for example, an interface named "interface" can be defined. The leading "_" is dropped to unescape the identifier.

Note that BS docs say "trailing" but Web IDL says "leading"

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/733

Received on Thursday, 6 June 2019 23:25:38 UTC