let answer: string = "correct"
if (answer === "correct") {
console.log("You got it right!");
} else {
console.log("Sorry, that's not correct.";
}
For further actions, you may consider blocking this person and/or reporting abuse
let answer: string = "correct"
if (answer === "correct") {
console.log("You got it right!");
} else {
console.log("Sorry, that's not correct.";
}
For further actions, you may consider blocking this person and/or reporting abuse
MD ARIFUL HAQUE -
Ebikara Dandeson Spiff -
Hemanth reddy -
Matt Lewandowski -
Top comments (1)
Hello @kamran_maharaz_e491192b9d ! Welcome to DEV. If you explain more about how variables work, you will be more valuable to the community. As this post stands, all the moderators will mark it as low quality. Hope this helps! 😀