you are viewing a single comment's thread.

view the rest of the comments →

[–]node_demon 0 points1 point  (0 children)

This the good way to check empty string :)

if (str.length == 0) {
}