# JavaScript (ES6), 27 bytes

<!-- language-all: lang-javascript -->

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

[Try it online!][TIO-j5joruou]

[TIO-j5joruou]: https://tio.run/##y0osSyxOLsosKNHNy09J/Z9m@7/C1q66PCMzJ1VDUaNCTa3C1jYtMac4VVPTuvZ/moaSR6aikuZ/AA "JavaScript (Node.js) – Try It Online"