JavaScript Possible Bug


#1

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.


#2

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

That colon should not be there.


#3
  1. Data Types and
    thank you
    it worked well

#4

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.


#5

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