Смотреть в Telegram
Find the error in the code. The answer should be: 0, 1 Difficulty: Average😐
const createCounter = () => {
  let count = 0;
  return () => {
    console.log(count++);
  };
};

const counter1 = createCounter();
const counter2 = createCounter();

counter1(); 
counter2();
Love Center - Dating, Friends & Matches, NY, LA, Dubai, Global
Love Center - Dating, Friends & Matches, NY, LA, Dubai, Global
Бот для знакомств