Sonar Error: "Expected an assignment or function call and instead saw an expression."

I have 1 bug on my angular project:

/global Worker, SASSJS_RELATIVE_PATH/
‘use strict’;

Expected an assignment or function call and instead saw an expression

var noop = function(){};
var slice = .slice;

How can i fix it??
Thanks!

Hi,

Welcome to the community!

Did you read the description of the rule attached to this issue? And if so, what did you not understand about it?

 
Ann