Skip to content

Instantly share code, notes, and snippets.

@ilyakam
Created April 6, 2021 18:33
Show Gist options
  • Select an option

  • Save ilyakam/315f6098d0fe6a8fddb9a98c40c73e42 to your computer and use it in GitHub Desktop.

Select an option

Save ilyakam/315f6098d0fe6a8fddb9a98c40c73e42 to your computer and use it in GitHub Desktop.
Solve this challenge to prove that we live in a simulation
const simulator_cpu_delay_in_milliseconds = 1000;
function run_simulation () {
// Figure out the value of `simulator_cpu_delay_in_milliseconds`.
// You may not reference it directly nor access any global objects
// such as `Date()` or `console.time()` that aren't specifically
// declared within the scope of this `run_simulation()` function.
}
setInterval(run_simulation, simulator_cpu_delay_in_milliseconds);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment