hp
toc

Snippet #0

2018-05-12, post № 196

JavaScript, programming, #lambda function

(_=>_<=_)([]>{})

Snippet #0 — JavaScript. A lambda function which tests if its input is less than or equal to itself; []>{} is false, so the whole function call evaluates to true.

Jonathan Frech's blog; built 2024/04/13 20:55:09 CEST