Javascript for Pentester Task 1

Hello all, today I am going to start the writing solutions for the tasks or challenges of course Javascript for Pentester at Pentester Academy. I am going to provide the quick solution to the task provided at Pentester Academy. You can view solutions to the other tasks here.