Trying to use the `pluck` function like something...
# suitescript
k
Trying to use the
pluck
function like something like the following, but having no such like
Copy code
parentid = _.reduce(cart.get('lines').pluck('parentid'), function (item, parentid) { return item + parentid; }, 0)