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

  • @orclev
    link
    61 year ago

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