stale_cheetos to Programming Horror@programming.dev · edit-210 months agoAlmost had to mark this one NSFWimagemessage-square5fedilinkarrow-up112arrow-down15file-text
arrow-up17arrow-down1imageAlmost had to mark this one NSFWstale_cheetos to Programming Horror@programming.dev · edit-210 months agomessage-square5fedilinkfile-text
For those unfamiliar with JS: subValue (the first argument in the forEach callback) is the value contained at arr[index].
minus-squareorclev@lemmy.worldlinkfedilinkarrow-up6arrow-down1·10 months agoEntire block could literally be replaced with arr[index] = self.cleanupMetadata(subValue).
minus-squareorclev@lemmy.worldlinkfedilinkarrow-up9·10 months 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.