RegexpGarden
















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