raynor009 Posted January 26, 2013 Report Posted January 26, 2013 Nu inteleg care-i treaba cu "booleans" astea poate sa imi explice cineva intr-un exemplu scurt? Quote
totti93 Posted January 27, 2013 Report Posted January 27, 2013 Te referi la obiectul Boolean din JavaScript? Booleanul are 2 valori `true` si `false`.var x = new Boolean();x = true;alert(x); // truex = false;alert(x); // falseif (!x) alert("X-ul e fals"); Quote
raynor009 Posted January 27, 2013 Author Report Posted January 27, 2013 ok.. cred ca inteleg. mersi de raspuns Quote