Skip to content

Commit

Permalink
fix apply function
Browse files Browse the repository at this point in the history
  • Loading branch information
s-kybound committed Apr 14, 2024
1 parent 9e6eca7 commit d42d0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const apply: Function = (fun: Function, ...args: any[]): any => {
}
// append the array to the rest of the arguments.
const allArgs = args.concat(lastArray);
fun(...allArgs);
return fun(...allArgs);
};

export const procedure$63$: Function = (p: any) => typeof p === "function";
Expand Down

0 comments on commit d42d0de

Please sign in to comment.