While Loop Array Javascript Documentation Tutorialspoint Java