Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Code Syntax Correction Challenge | TypeScript Fundamentals
Introduction to TypeScript
course content

Course Content

Introduction to TypeScript

Introduction to TypeScript

1. TypeScript Fundamentals
2. Conditional Statements
3. Arrays
4. Loops
5. Functions

bookCode Syntax Correction Challenge

This code contains some syntax errors. Your task is to identify the error locations and comment them out to make the code run successfully.

12345
let one : number = 5; let two : string = one ** 4; let result = two - one; console.log('code has been executed succesfully') console.log(`the result is ${result}`)
copy

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 7
We're sorry to hear that something went wrong. What happened?
some-alt