Skip to content

Instantly share code, notes, and snippets.

@erhanyasar
Last active June 19, 2023 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erhanyasar/af331b7c8bae551ee5029e2259751abc to your computer and use it in GitHub Desktop.
Save erhanyasar/af331b7c8bae551ee5029e2259751abc to your computer and use it in GitHub Desktop.
const dataArr = [
"B$u$i$ld",
"$t$$h$e",
"N$e$x$t",
"E$$ra",
"$$o$f$",
"S$$of$t$wa$r$e",
"De$$ve$l$op$me$n$t",
];
console.log(dataArr.map((element) => element.replaceAll("$", "").toUpperCase()).join(" "));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment