Hello experts,
O am learning javascript as I analyze existing codes.
In my JS reference book, is searching an single space be "\s
"?
But I have came across a code
obj.match(/Kobe Bryant/);
Instead of using \s
, it uses the actual space?
Doesn't this suppose to generate an error?