Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function solve(text, startIndex, count) {
- const result = text.substr(startIndex, count);
- console.log(result)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement