import checkLength from './code.js';<input id="txtF" type="number" onInput={e => code(3, e.target)} />Any property declared with var cannot be deleted from the global scope or from a function's scope.
className={`myDIV ${styleEnabled ? "mystyle" : ""}`}
return function() {
  return count++;
};simillarAds[0].offer.address = simillarAds[0].offer.address.call(simillarAds[0].offer)simillarAds[0].offer.address = function () {
  return this.location.x + ', ' + this.location.y;
}.call(simillarAds[0].offer);
Теперь индекс не будет уходить в космос