about | help | code help+videos | done | prefs |
getLongOrShort
If the length of the input string is less than six, return the string "short", if not, return the string "long". getLongOrShort('psy') → 'short' getLongOrShort('boom') → 'short' getLongOrShort('dasom') → 'short' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy