Skip to content

Post/pre inc/dec "typically"? #1196

@Nigel-Ecma

Description

@Nigel-Ecma

§12.8.16 & §12.9.6:

Typically, the result of x++ or x-- is the value of X before the operation, whereas the result of ++x or --x is the value of X after the operation.

Bug: Typically? The definitions in both clauses clearly define it as always.

Typo: 2 × X rather than x.

Metadata

Metadata

Assignees

Labels

type: bugThe Standard does not describe the language as intended or implementedtype: formattingThe Standard has incorrect formatting (or a typo)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions