Finding array index of object in an array is affecting minification and uglification using grunt

186 Views Asked by At
let index = $scope.fetchPanelAssessorDetails.findIndex
( assessor => assessor.name === assessorDet.name );

I tried fetching the index of the object using above code. It worked too, but it affects my minification and uglification of code using grunt. What is the solution to overcome this.

0

There are 0 best solutions below