Can someone help me with that javascript code?
I'm started studying but I'm not figured out yet how to resolve it. Can someone show me it constructed?

1 Answer
Relevance
- EddieJLv 75 months ago
The last character would be
var lastChar = word.substr (word.length - 1);
but I assume you want someone to do the entire assignment for you.
Still have questions? Get answers by asking now.