← Back to challenges

Word without First Character

JavaScriptHardstringsformattinglanguage_fundamentals

Instructions

Create a function that takes a word and returns the new word without including the first character.

Examples

newWord("apple") ➞ "pple"

newWord("cherry") ➞ "herry"

newWord("plum") ➞ "lum"

Notes

The input is always a valid word.

javascript
Loading editor…
to run
Walks through the solution with reasoning and edge cases.
Next: Flip the Boolean