Skip to content

Commit

Permalink
Editorial: Standardize preambles for internal methods (tc39#1994)
Browse files Browse the repository at this point in the history
Reword preambles for internal methods into the format set out in issue tc39#1981.

- Declare the target-alias in the preamble rather than the algorithm,
  for internal methods of an arguments exotic object.

- Drop the target-alias from the preamble when the algorithm doesn't reference it.

- Fill in some missing parameter-types.

Also, delete "(which|that) was created using the bind function"
from the [[Call]] and [[Construct]] preambles for bound functions.
The wording suggested that there could be bound functions that
*weren't* created using the 'bind' function, and that these things
would have their own [[Call]] and [[Construct]] methods.
  • Loading branch information
jmdyck authored and ljharb committed Dec 13, 2020
1 parent 0958d3d commit 7011903
Showing 1 changed file with 57 additions and 62 deletions.
Loading

0 comments on commit 7011903

Please sign in to comment.