Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
Editorial: Fix a typo to refer to the right objects
Browse files Browse the repository at this point in the history
Noted in #33
  • Loading branch information
littledan committed Aug 4, 2017
1 parent 5a4ff5f commit 92e7da1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ <h1>DefineField(_receiver_, _fieldRecord_)</h1>
1. Let _hasNameProperty_ be ? HasOwnProperty(_initValue_, `"name"`).
1. If _hasNameProperty_ is *false*, perform SetFunctionName(_initValue_, _fieldName_).
1. If _fieldName_ is a Private Name,
1. Perform ? PrivateFieldAdd(_fieldName_, _O_, _initialValue_).
1. Perform ? PrivateFieldAdd(_fieldName_, _receiver_, _initialValue_).
1. Else,
1. NOTE: _fieldName_ is a property key.
1. Let _desc_ be PropertyDescriptor{
Expand All @@ -393,7 +393,7 @@ <h1>DefineField(_receiver_, _fieldRecord_)</h1>
[[Writable]]: *true*,
[[Value]]: _initValue_
}.
1. Perform ? DefinePropertyOrThrow (_F_, _fieldName_, _desc_).
1. Perform ? DefinePropertyOrThrow(_receiver_, _fieldName_, _desc_).
<emu-alg>
</emu-clause>

Expand Down

0 comments on commit 92e7da1

Please sign in to comment.