Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

aba translate js

const abaTranslate = sentence => sentence.replace(/[aeiou]/ig, "$&b$&");
console.log(abaTranslate("Cats and dogs")); // returns "Cabats aband dobogs"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #aba #translate #js
ADD COMMENT
Topic
Name
3+7 =