Message from JavaScript discussions

March 2019

— And you're comparing strings to eachother lol

— 

I think you want to check numbers against each other. Prompt returns a string afaik so you have to make parseInt(prompt("Question"))

— And you're checking the same case in both ifs

— Oh god. Thanks

— 

const sayi1 = Number(prompt("1.Sayı Giriniz"));
const sayi2 = Number(prompt("2.Sayı Giriniz"));
alert(
sayi1 > sayi2 ? "1.Sayı, Yani " + sayi1 + " Büyük" :
sayi1 < sayi2 ? "2.Sayı, Yani " + sayi2 + " Büyük" :
"sayılar eşittir");

Message permanent page

— ^

— Thank you, god bless you.

— Ban ads admin

— Banned

— Should i learn jquery or not?

— Your choice

— What u wanna do