Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace push.apply with dedicated function #12361

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Update JSDoc
Co-authored-by: jjspace <[email protected]>
javagl and jjspace authored Dec 11, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 62c488878e5cb33475202e31cb5487ab3cf12256
2 changes: 1 addition & 1 deletion packages/engine/Source/Core/addAll.js
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ import defined from "./defined.js";
/**
* Adds all elements from the given source array to the given target array.
*
* If the `source` is `undefined`, then nothing will be done. Otherwise,
* If the <code>source</code> is <code>undefined</code>, then nothing will be done. Otherwise,
* this has the same semantics as
* ```
* for (const s of source) target.push(s);