Lava Example - 61 | Rock Community

Lava Example - 38


Prompt

Your template has been provided a default {{ fruits }} array now. Let's modify its contents!

Remove "Banana" from the array. And add "dragonfruit".

List the final array items on the page.

Initial Code
{{ fruits }}
Solution Lava
{{ fruits | RemoveFromArray:'Banana' | AddToArray:'dragonfruit' | Join:', ' }}