Python In Range Function Example In Javascript