javascript forever loop

JavaScript
while (true) {
    //your code
}while(0 == 0) {
  //whatever
}while(2 == 2) {
  //your code here
}x = 2;
while (x == x) {
	//please add your code here
}while (1 == 1) {
  // Add the code for the forever loop
}
Source

Also in JavaScript: