i have this code and i dont know what does =+ means it does not work like += hence
x+=y adds y value to x but x=+ it looks like its replace x value with y value
var counters= document.querySelectorAll('.counter');
counters.forEach(counter => {
counter.innerText= '0' ;
const updateCounter = ()=> {
const target =+ counter.getAttribute('data-target')
const c = +counter.innerText
const increasment = target/200;
if(c<target) {
counter.innerText = c+increasment ;
setTimeout(updateCounter,5)
}
else {
counter.innerText=target
}
}
updateCounter();
})