The logic is checking if the (>= (count n) lower) instead it should check for (>= (count n) upper) then it should be dropping the elements
Also js/parseInt is dependent on the platform if the radix is not defined and was giving wierd behavior on local rhino platform by considering default radix as 8
The logic is checking if the
(>= (count n) lower)
instead it should check for(>= (count n) upper)
then it should be dropping the elementsAlso
js/parseInt
is dependent on the platform if the radix is not defined and was giving wierd behavior on local rhino platform by considering default radix as 8