Hi,
It looks like filter() can't be used in a custom function, as it won't accept an array passed from outside (unless the array is a predefined variable). Is this expected?
filterNeg(arr) = filter(arr, x > 0 )
filterNeg([-4, 0 , 3, 4 , -2]) // Error: Undefined symbol arr; Expected result: [3, 4]
Tested in version 4.1.2.
Thanks!
Hi,
It looks like filter() can't be used in a custom function, as it won't accept an array passed from outside (unless the array is a predefined variable). Is this expected?
Tested in version 4.1.2.
Thanks!