about | help | code help+videos | done | prefs |
Return true if the word that comes alphabetically first in an array of all lowercase words starts with an a. Hint: use the startsWith method. startsA(["ball", "apple", "cat"]) → true startsA(["cogito", "ergo", "sum"]) → false startsA(["the", "truth", "is", "rarely", "pure", "and", "never", "simple"]) → true ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy