/\p{Z}/u.test(' ')
works on Chrome 71.0.3578.98 and returns true, but on Firefox 65.0 it throws the error:
SyntaxError: invalid identity escape in regular expression
Is this a problem with ES implementation in Firefox, or I am using the regex wrong, and Chrome is just being nice and interprets that in the desired way?