(in x "foo" "bar" "qux")
(function (g1585) { return (function (g1586) { return (g1586 ? g1586 : (function (g1587) { return (g1587 ? g1587 : (function (g1588) { return (g1588 ? g1588 : undefined); })((g1585 === "qux"))); })((g1585 === "bar"))); })((g1585 === "foo")); })(x)
---
EDIT: I just added in `or`. Now the output is a lot more readable:
(function (g1590) { return ((g1590 === "foo") || (g1590 === "bar") || (g1590 === "qux")); })(x)