- 2

How can get the code in java script to print true or false when using === == <= >= e.t.c.

https://code.sololearn.com/cB14L7vHTU0n/?ref=app Pls help I'm trying to do a code coach but l don't know how to get it to print either true or false for the comparison

31st Dec 2020, 12:34 PM
Prince Abakwue
Prince Abakwue - avatar
8 Answers
+ 3
console.log() is used to output to console. Your code snippet shows No output because JavaScript has no readLine(). Also, you haven't called main(), so there is no error message. If you want to attempt Code Coach of SoloLearn, you need to choose programming language, in which there is no option of JavaScript. For code playground, you need to choose the same programming language. In view that you requested upvotes for badge, I have downvoted this question to discourage you. Badge is some virtual achievements SoloLearn used to hook you to stay at app for their advertisement revenue. Don't get trapped. You can't take badge back to your real life. The only takeaway is your programming skill, which you can make money with. Focus on learning.
31st Dec 2020, 5:07 PM
Gordon
Gordon - avatar
+ 2
console.log()
31st Dec 2020, 12:38 PM
Gordon
Gordon - avatar
+ 2
Prince Abakwue You can mention someone using @username
31st Dec 2020, 12:58 PM
Alphin K Sajan
Alphin K Sajan - avatar
+ 1
"== " compare value not its type And "=== " compare value along with its type
31st Dec 2020, 12:40 PM
Alphin K Sajan
Alphin K Sajan - avatar
0
Gordon is it console.log(blah=<blah) like that right
31st Dec 2020, 12:39 PM
Prince Abakwue
Prince Abakwue - avatar
0
Gordon it didn't work
31st Dec 2020, 12:49 PM
Prince Abakwue
Prince Abakwue - avatar
31st Dec 2020, 12:59 PM
Prince Abakwue
Prince Abakwue - avatar
- 4
Thks ps could you guys upvote the question I rly want an acheivement Ê˜â€żÊ˜
31st Dec 2020, 12:43 PM
Prince Abakwue
Prince Abakwue - avatar