From e14861694ce1fcd2d7c3c90676c4b0a087ffcb3d Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 5 Oct 2019 08:03:26 +0300 Subject: [PATCH] another v.js fix --- vlib/builtin/js/array.v | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vlib/builtin/js/array.v b/vlib/builtin/js/array.v index 53fc7582d4..373645e0f1 100644 --- a/vlib/builtin/js/array.v +++ b/vlib/builtin/js/array.v @@ -33,6 +33,11 @@ pub fn _make(len, cap, elm_size int) array { */ + +pub fn _make(len, cap, elm_size int) array { + return array{} +} + fn array_repeat(val voidptr, nr_repeats, elm_size int) array { return val }