Skip to content

Commit d9d96e7

Browse files
committed
apply review change
1 parent 95f1b77 commit d9d96e7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

vlib/builtin/js/array.js.v

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,7 @@ pub fn (a array) to_number_array() JS.Array {
416416

417417
// push_many - appends multiple values to the end of the array.
418418
pub fn (a array) push_many(vals voidptr, size int) {
419-
// TODO: implement variadic push_many in JS
420-
#a.val.arr.len.val += size
419+
a.insert_many(a.len, vals, size)
421420
}
422421

423422
type EveryFn = fn (JS.Number, JS.Number) JS.Boolean

0 commit comments

Comments
 (0)