JSFiddle - React, Tailwind, and code Playground

by Jake Overall

JavaScript

/* write a function that takes in an array of strings that will reverse the string if it starts with the letter S. If it starts with the letter T remove it from the array
  */

 var array = ['sara','green','this','','tyler','snospmis','star rats']