Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Immanity |
I have already an array:
var lines = [acerola, apple, apricots, avocado, banana, blackberry, blackcurrant, blueberry, breadfruit, cantaloupe, carambola, cherimoya, cherry, clementine, coconut, cranberry, durian, elderberry, feijoa, fig, gooseberry, grapefruit, grape, guava, jackfruit, kiwifruit, kumquat, lemon, lime, longan, loquat, lychee, mandarin, mango, mangosteen, mulberry, nectarine, olives, orange, papaya, peach, pear, persimmon, pineapple, pitanga, plantain, plum, pomegranate, prune, pummelo, quince, raspberry, rhubarb, sapodilla, soursop, strawberry, tamarind, tangerine, watermelon]
how can I display all the fruits that started with the letter I choose from?
I kinda making a wordchain game where the answer should start with the last letter of the previous answer. It’s for our research so can you please help me!