Mavengers
Developer's Blog
Thursday, June 19, 2014
check if string is empty in javascript
function isEmpty(str) {
return (!str || 0 === str.length);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment