JSFiddle - React, Tailwind, and code Playground

by kyllle

JavaScript

function sum(x, y) {
  let start;

  setTimeout(() => {
    start = x + y;
    return start
  }, 100000);

}

console.log(sum(1,1))