@[email protected] to Programming [email protected] • edit-21 year agoAlmost had to mark this one NSFWsh.itjust.worksimagemessage-square5fedilinkarrow-up113arrow-down16file-text
arrow-up17arrow-down1imageAlmost had to mark this one NSFWsh.itjust.works@[email protected] to Programming [email protected] • edit-21 year agomessage-square5fedilinkfile-text
For those unfamiliar with JS: subValue (the first argument in the forEach callback) is the value contained at arr[index].
minus-square@orclevlink6•1 year agoEntire block could literally be replaced with arr[index] = self.cleanupMetadata(subValue).
minus-square@orclevlink9•1 year agoFiguratively the block could be replaced with a roll of duct tape and some chewing gum.
Entire block could literally be replaced with
arr[index] = self.cleanupMetadata(subValue)
.What about figuratively?
Figuratively the block could be replaced with a roll of duct tape and some chewing gum.