Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function solve (num) {
- console.log(num === 100 ? '100% Complete!'
- :`${num}% [${'%'.repeat(Math.floor(num / 10)) + '.'.repeat(10 - Math.floor(num / 10))}]\nStill loading...`);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement