JSFiddle - React, Tailwind, and code Playground

by Nikita Titorovich

HTML

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  
</body>
</html>

CSS

body {
  background-color: white;
}

JavaScript

let test  = function(){
	let count = 0;
  return function() {
  	return count++;
  }
};

let test2

console.log(test()());
console.log(test()());
console.log(test()());
console.log(test()());