Skip to content

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

@t-wy

Description

@t-wy

[]["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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions