Explain While Loop In Javascript With Phaser Pedal