#APLQuest 2015-08: Write a function to process output and change the 13s to 12.99s (see https://apl.quest/2015/8/ to test your solution and view ours).

#APL #Triskaidekaphobia #ArrayTransformation

APL Quest 2015-8: Unlucky 13

Write a function to process output and change the 13s to 12.

flatMap Can Filter AND Transform?!

flatMap is a SECRET WEAPON! Return empty array to REMOVE items, return array with value to KEEP. One pass does filter AND map together! This trick will make your code 10x cleaner!

#javascript #javascripttricks #flatmap #arrayfilter #arraytransformation #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascripttips #functionalprogramming #advancedjavascript

https://www.youtube.com/watch?v=b3SGNML931E

flatMap Can Filter AND Transform?! #JavaScript

YouTube

PHP array_map With Null Callback

Wait for the reveal! array_map(null, ...) does something unexpected. See what happens to your array. One line, huge impact!

#php #phptricks #codingtips #programmingtutorial #phparraymap #arrayfunctions #arraytransformation #phpquiz #codingchallenge #phpshorts #arraymethods #phparrays

https://www.youtube.com/watch?v=_xEptV-CblM

PHP array_map With Null Callback #arrayfunctions

YouTube