Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var a = "123";
- if(a == true){
- console.log("a is true"); //bunu yazdırmayacaktır.
- }
- a = [];
- if(a){
- console.log("a is true"); //bunu yazdırmayacaktır.
- }
- if(a == false){
- console.log("a is false"); // a is false
- }
Add Comment
Please, Sign In to add comment