Javascript conclusion pt 2 trouble


Replace this line with your code.


i put
("apple".length = 4)


Hey, I think something went wrong when posting your code (and question).
Follow these instructions to show your code in a good way:


In javascript, you put the code that will be executed when an if-statement is true (and false aswell) between curly braces ({ and }) and end lines with a semicolon ( ; ).

So the stucture of an if-statement should look like this:

if (condition) {
    console.log("The condition is true!");
} else {
    console.log("The condition is false!");


the name of the time tink so


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.