Skip to content

Commit b289235

Browse files
committed
ops
1 parent 523fa56 commit b289235

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vlib/builtin/js/array.js.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,8 @@ pub fn (a array) to_number_array() JS.Array {
415415
}
416416

417417
// push_many - appends multiple values to the end of the array.
418-
pub fn (a array) push_many(vals voidptr, size int) {
419-
a.insert_many(a.len, vals, size)
418+
pub fn (mut a array) push_many(val voidptr, size int) {
419+
a.insert_many(a.len, val, size)
420420
}
421421

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

0 commit comments

Comments
 (0)