Skip to main content
added 86 characters in body
Source Link
Stephen
  • 14k
  • 3
  • 52
  • 117

JavaScript (ES6), 27 bytes (Cracked, Cracked - both unintended) (Intended Cracked)

x=>{while(!(x&&x==false));}

The other cracks were genius, but the intended crack [] or new Array(). Empty array in JavaScript is truthy, but == false.

Try it online!

JavaScript (ES6), 27 bytes (Cracked, Cracked - both unintended)

x=>{while(!(x&&x==false));}

Try it online!

JavaScript (ES6), 27 bytes (Cracked, Cracked - both unintended) (Intended Cracked)

x=>{while(!(x&&x==false));}

The other cracks were genius, but the intended crack [] or new Array(). Empty array in JavaScript is truthy, but == false.

Try it online!

added 142 characters in body
Source Link
Stephen
  • 14k
  • 3
  • 52
  • 117

JavaScript (ES6), 27 bytes (Cracked, Cracked - both unintended)

x=>{while(!(x&&x==false));}

Try it online!

JavaScript (ES6), 27 bytes

x=>{while(!(x&&x==false));}

Try it online!

JavaScript (ES6), 27 bytes (Cracked, Cracked - both unintended)

x=>{while(!(x&&x==false));}

Try it online!

Source Link
Stephen
  • 14k
  • 3
  • 52
  • 117

JavaScript (ES6), 27 bytes

x=>{while(!(x&&x==false));}

Try it online!