JSFiddle - React, Tailwind, and code Playground

by clauswilke

JavaScript

let a = [1, 2]


while (false) {
	let x = a.shift()
  if (x === undefined) { break }
	console.log(x)
}