Which is more proper javascript syntax? [closed]
if (//some condition) {
//some code
} else {
//other code
}
or
if (//some condition) {
//some code
}
else {
//other code
}
I think the first one isn't good, and I have the same feelings about the second one
精彩评论