Skip to content

Commit

Permalink
Editorial: Add assertion for built-in function object (#3483)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimjg1119 authored and ljharb committed Dec 18, 2024
1 parent 49d6d45 commit 38f68d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion esmeta-ignore.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"GetViewByteLength",
"INTRINSICS.Atomics.notify",
"MakeMatchIndicesIndexPairArray",
"Record[BuiltinFunctionObject].Construct",
"Record[ModuleNamespaceExoticObject].Get",
"Record[SourceTextModuleRecord].ExecuteModule",
"Record[SourceTextModuleRecord].InitializeEnvironment",
Expand Down
4 changes: 3 additions & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -13979,7 +13979,9 @@ <h1>
<dd>a built-in function object _F_ (when the method is present)</dd>
</dl>
<emu-alg>
1. Return ? BuiltinCallOrConstruct(_F_, ~uninitialized~, _argumentsList_, _newTarget_).
1. Let _result_ be ? BuiltinCallOrConstruct(_F_, ~uninitialized~, _argumentsList_, _newTarget_).
1. Assert: _result_ is an Object.
1. Return _result_.
</emu-alg>
</emu-clause>

Expand Down

0 comments on commit 38f68d7

Please sign in to comment.