The CSS.escape() static method escapes a string so that it can be used in a valid CSS selector.
CSS.escape()