Order the below TypeScript function neverReturns that takes no arguments and never returns. Watch out for the indentations.
Never and unknown
Never returns
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
function neverReturns(): never {
}; // outer
} // inner
// Infinite loop
while (true) {
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.