#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).
#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).
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

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