In the preceding example, the higher-order function filterArr()
generates and returns the second function greaterThan()
, that filters the element of an array larger than the input m
.
Mark As Completed Discussion


In the preceding example, the higher-order function filterArr()
generates and returns the second function greaterThan()
, that filters the element of an array larger than the input m
.