What is the best way to check if a string contains only whitespace?
The string is allowed to contain characters combined with whitespace, but not just whitespace.
javascript string whitespace
javascript ×1
string ×1
whitespace ×1