Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Uitdaging: Correctie van Codesyntaxis | TypeScript Fundamentals
Introductie tot TypeScript

bookUitdaging: Correctie van Codesyntaxis

Deze code bevat enkele syntaxisfouten. De opdracht is om de locaties van de fouten te identificeren en deze uit te commentariëren zodat de code succesvol kan worden uitgevoerd.

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

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 7

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

Suggested prompts:

Can you explain why those specific lines were commented out?

What would be the correct way to fix the type errors instead of commenting out the code?

Can you show me what the output of the corrected code would be?

Awesome!

Completion rate improved to 2.94

bookUitdaging: Correctie van Codesyntaxis

Veeg om het menu te tonen

Deze code bevat enkele syntaxisfouten. De opdracht is om de locaties van de fouten te identificeren en deze uit te commentariëren zodat de code succesvol kan worden uitgevoerd.

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

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 7
some-alt