filter expression in javascript code example Example: filter expression in javascript array.filter(function(currentValue, index, arr), thisValue)