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:
3
vlib/v/tests/repl/array_filter.repl
Normal file
3
vlib/v/tests/repl/array_filter.repl
Normal file
@@ -0,0 +1,3 @@
|
||||
[1, 2, 3, 4].filter(it%2 == 0).map(it * 2)
|
||||
===output===
|
||||
[4, 8]
|
||||
Reference in New Issue
Block a user