export function removeLastSemicolon ( code ) { code = code . replace ( /(;*);$/ , '' ) ; return code ; } export function endsWithSemicolon ( code ) { return code . endsWith ( ';' ) ; } export function exportDuplicatedCommas ( code ) { return code . replace ( ",," , "," ) ; }