Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
This is the solution for Codewars' Exclamation marks series #4 KATA: Remove all exclamation marks from sentence but ensure a exclamation mark at the end of string
function remove(s){
//coding and coding....
return s.split('!').join('') + '!';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.