JavaScript typing practice
Typre is a free typing trainer for programmers. Instead of prose, you type real JavaScript — brackets, operators and indentation included — and it measures WPM, accuracy, raw speed and consistency on every run.
- 181JavaScript snippets
- 61for 15 second runs
- 60for 30 second runs
- 60for 60 second runs
What slows you down in JavaScript
Arrow functions turn => into muscle memory, and destructuring buries { } inside ( ) inside =>. Template literals put backticks and ${ } in the middle of a word, which almost nothing else does.
What the snippets cover
Array methods, async/await and fetch, promise chains, destructuring, spread, classes with private fields, event listeners, and the small utilities that show up in every codebase — debounce, deep clone, query string parsing.
Snippets you will actually type
Three of the 61 short JavaScript snippets, exactly as they appear in the app:
const sum = (a, b) => {
return a + b;
};
class Stack {
#items = [];
}
const { name, age } = user;
console.log(name, age);
How it works
Pick 15, 30 or 60 seconds. Snippets are served in shuffled order, so you never repeat one before finishing a full round — even across page reloads. Sign in to put scores on the leaderboard, race a friend on the same snippet in real time, or paste code from your own project. None of it is required: open the page and start typing.