mardi 11 août 2020

Unexpected result with this javascript statement [closed]

let a = 1;

if (a => 12 && a < 16) console.log(1)
else console.log(2)

I was expecting it to print else block. where am I wrong.

Aucun commentaire:

Enregistrer un commentaire