JavaScript Possible Bug

console.log(‘JavaScript’);
console.log(33.7);
console.log:(true);

I do not know what is wrong with the boolean true.
Thank you if you reply.

Are you getting an error message? What lesson is this?

That colon should not be there.

1 Like
  1. Data Types and
    thank you
    it worked well
1 Like

Most members, including me, do not have exercises on speed dial. There are simply too many of them. In future, please post a link to the exercise when starting a new Q&A topic. You wouldn’t believe how much of a difference that makes in the speediness of the replies, and getting the answer you need.

1 Like

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