Function is_js_identifier

Source
pub fn is_js_identifier(s: &str) -> bool