How can i pass parameter to a method which is passed as parameter inside an array. map method.
var result = [1,2,3];
var updatedResult = result.map(modifierMethod);
function modifierMethod(cellValue){ return cellValue* dynamicValue}
I want to pass the dynamicValue into the modifierMethod while calling map method.