javascript check if blank space

Solutions on MaxInterview for javascript check if blank space by the best coders in the world

showing results for - "javascript check if blank space"
Lindsey
16 Mar 2019
1function isEmptyOrSpaces(str){
2    return str === null || str.match(/^ *$/) !== null;
3}
4