JS `\s` (WhiteSpace ∪ LineTerminator), which `.replace(/\s+/g, '')` strips: unlike Rust's `char::is_whitespace`, U+FEFF yes and U+0085 no.
(c: char)
| 1678 | /// JS `\s` (WhiteSpace ∪ LineTerminator), which `.replace(/\s+/g, '')` strips: |
| 1679 | /// unlike Rust's `char::is_whitespace`, U+FEFF yes and U+0085 no. |
| 1680 | fn is_js_space(c: char) -> bool { |
| 1681 | matches!( |
| 1682 | c, |
| 1683 | '\t' | '\n' | '\x0B' | '\x0C' | '\r' | ' ' | '\u{00A0}' | '\u{1680}' |
| 1684 | | '\u{2000}'..='\u{200A}' | '\u{2028}' | '\u{2029}' | '\u{202F}' | '\u{205F}' |
| 1685 | | '\u{3000}' | '\u{FEFF}' |
| 1686 | ) |
| 1687 | } |
| 1688 | |
| 1689 | /// The receiver chain a method call is written on, when it is fields and |
| 1690 | /// method calls on `self` or on a name: `self.services.store`, |
no outgoing calls
no test coverage detected