Home > Enterprise >  Replace string value with emoji javascript
Replace string value with emoji javascript

Time:08-04

I'm learning to code in javascript, the below code is a rock paper scissor game. i want the output to display the respective emojis instead of text-Rock,Paper,Scissor.

how can i replace ["rock", "paper", "scissors"] with ["✊", "

  • Related