This function interprets a string value as a sequence of code points, as described in 6.1.4.
The following steps are taken:
- Let O be
- Let S be
- Let T be a String value that is a copy of S with trailing white space removed. The definition of white space is the union of WhiteSpace and )LineTerminator. When determining whether a Unicode code point is in Unicode general category “Zs”, code unit sequences are interpreted as UTF-16 encoded code point sequences as specified in 6.1.4.