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

Conteúdo do Curso

Introduction to TypeScript

Introduction to TypeScript

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

Code 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

Tudo estava claro?

Seção 1. Capítulo 7
We're sorry to hear that something went wrong. What happened?
some-alt