Skip to content

Commit 1c705b4

Browse files
Arlen22Copilot
andauthored
fix typo
it's an args array, so use apply instead of call Co-authored-by: Copilot <[email protected]>
1 parent b4661e4 commit 1c705b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.emu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class Result {
118118
try {
119119
let result;
120120
if (/* IsCallable(arg) */typeof arg === "function") {
121-
result = arg.call(undefined, args)
121+
result = arg.apply(undefined, args)
122122
} else {
123123
result = arg;
124124
}

0 commit comments

Comments
 (0)