For those unfamiliar with JS: subValue (the first argument in the forEach callback) is the value contained at arr[index].

  • orclev@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    5 months ago

    Figuratively the block could be replaced with a roll of duct tape and some chewing gum.