1pub fn is_js_executable(mod_id: &str) -> bool { 2 matches!( 3 mod_id.rsplit('.').next(), 4 Some("ts" | "js" | "coffee" | "civet" | "rew") 5 ) 6}