#119·jsfuck

Note: Array.prototype.at() is available now

Author: t-wyCreated Nov 16, 2021Updated Jul 19, 2022

[]["at"] ([][(![]+[])[+!![]]+(!![]+[])[+[]]]) may replace []["filter"] or []["fill"] ([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]]) to get a Function and it should work with latest browser versions except Safari as of now.

(This note is for golfing but not for compatibility though)

Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at#examples