typescriptbeginner

TypeScript Basic Calculator

Simple typed arithmetic function with validation

By ApeType Staff·6 lines·110 characters·1,420 total attempts
SOURCE CODE·typescript
function add(a: number, b: number): number { return a + b; } const sum = add(15, 27); console.log("The sum is:", sum);
UTF-8 · Tab indentationStandard Strict Parsing
TRANSCRIBE

Ready when you are.

Test your muscle memory and transcription speed against this exact snippet.

Start Typing
Tip: Press Esc anytime to restart

Best runs on this snippet

#TypistAccWPM
1Eyuel100%34
2Eyuel96.77%30
3Eyuel76.47%24
4Eyuel23.28%15