• @rockSlayer
    link
    1
    edit-2
    1 year ago

    They made it a named function, but this is literally how you format anonymous functions in js, a key feature that usually gets called with stuff like an onclick or onload call in the html domain.