RegexpGarden












- Garden Text Representation
1234
let garden = [ "Rue", "Rose", "Rosemary", "Rye", "Rice", "Primrose"];- Code Editor
- Log
123456
for (const plant of garden) {if (plant.match(//i) {water(plant);}}











let garden = [ "Rue", "Rose", "Rosemary", "Rye", "Rice", "Primrose"];for (const plant of garden) {if (plant.match(//i) {water(plant);}}