while vs while

Edit on GitHub

while

Setup

while

Tests

  • while

    while (true) {}
  • while

    while (true) { 1 }