Skip to content

Allocating JS Array Size #868

Answered by bnoordhuis
harumazzz asked this question in Q&A
Jan 31, 2025 · 2 comments · 6 replies

You must be logged in to vote

A new JSValue JS_NewArrayFrom(JSContext *ctx, int count, JSValue *values) isn't out of the question, IMO. Most JS engines have a similar API.

Replies: 2 comments 6 replies

You must be logged in to vote
0 replies

You must be logged in to vote
6 replies
@harumazzz

@bnoordhuis

@bnoordhuis

@bnoordhuis

@harumazzz

Answer selected by harumazzz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants