adding string to array items to create new array

PHOTO EMBED

Sun Nov 07 2021 11:44:44 GMT+0000 (UTC)

Saved by @KarenStewart #react #javascript

let coinNames = [
    "bitcoin",
    "ethereum",
    "stellar",
    "bitcoin-cash",
    "nucypher",
    "litecoin",
  ];
  coinNames = coinNames.map(function (coin) {
    return "%2C" + coin;
  });
content_copyCOPY