This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.
Sometimes you need to call a function a given number of times. There is no purpose-built function to do exactly this, but it can easily be done with Array: // Log "hi" five times Array.from({length: 5}, () => console.log('hi')); // Get two random d...
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.