Skip to content

Commit

Permalink
Editorial: Add assertion for built-in function object (tc39#3483)
Browse files Browse the repository at this point in the history
kimjg1119 authored and ljharb committed Dec 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 49d6d45 commit 38f68d7
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
@@ -10,7 +10,6 @@
"GetViewByteLength",
"INTRINSICS.Atomics.notify",
"MakeMatchIndicesIndexPairArray",
"Record[BuiltinFunctionObject].Construct",
"Record[ModuleNamespaceExoticObject].Get",
"Record[SourceTextModuleRecord].ExecuteModule",
"Record[SourceTextModuleRecord].InitializeEnvironment",
4 changes: 3 additions & 1 deletion spec.html
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 38f68d7

Please sign in to comment.