1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

vrepl: fix array_filter (#9104)

This commit is contained in:
yuyi
2021-03-04 18:24:14 +08:00
committed by GitHub
parent 2b9ffbda42
commit 2870a5a63a
2 changed files with 19 additions and 9 deletions

View File

@@ -0,0 +1,3 @@
[1, 2, 3, 4].filter(it%2 == 0).map(it * 2)
===output===
[4, 8]