JS: Simplify `clean` function (#10154)
JS: Simplify `clean` function (#10154)


jlongster/prettier,rattrayalex/prettier,prettier/prettier,prettier/prettier,rattrayalex/prettier,rattrayalex/prettier,prettier/prettier,prettier/prettier