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

  • orclev
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 year ago

    Entire block could literally be replaced with arr[index] = self.cleanupMetadata(subValue).