---
21.1.3.25 In ECMAScript 2015, the String.prototype.trim method is defined to recognize white space
code points that may exists outside of the Unicode BMP. However, as of Unicode 6.1 no such code points are
defined. In previous editions such code points would not have been recognized as white space.
---
Why is Unicode 6.1 mentioned? I'd expect either Unicode 5.1 or latest (Unicode 7).
probably because 6.1 was the lastest when that sentence was written.
Should probably check whether 7 added any
(In reply to Allen Wirfs-Brock from comment #1)
> Should probably check whether 7 added any
List of characters with Category Zs (Separator, space).
Unicode 5, 6, 6.1, 6.2:
U+0020
U+00A0
U+1680
U+180E
U+2000..U+200A
U+202F
U+205F
U+3000
---
Unicode 6.3, 7, 8 (beta):
U+0020
U+00A0
U+1680
U+2000..U+200A
U+202F
U+205F
U+3000
The only difference is U+180E (MONGOLIAN VOWEL SEPARATOR) which was moved to Cf in Unicode 6.3. That means no characters outside of BMP are removed by trim().
fixed in rev39 publication draft
changed 6.1 to 7