I have a function:
function modifySpinner(currentIcon, selector, spinType = remove)
{
if (spinType === 'add') {
// something
}
}
But I am receiving this error in my console:
Uncaught SyntaxError: Unexpected token =
This wasn't causing issues in firefox? But in chrome its not working.