Practice how to return a section of string from a string in JavaScript

JavaScript logo JavaScript Online Editor