-
Notifications
You must be signed in to change notification settings - Fork 111
Description
I am enjoying the videos, and able to follow everything well; the only issue I have had so far was understanding the practice file use of CONCAT with the variable in brackets. return [current].concat(reversedList); I understand what CONCAT is doing, but I was confused about the brackets around the variable name. You never mentioned anything about the use of brackets around a variable, so I had to dissect your answer. I was under the impression that reduce returned arrays. The second practice also has me confused with the use of these brackets. the conditional Array.isArray(current) when TRUE should deal with the inner array value, right?
Any way "long story short," can you provide an explanation to the use of bracket around a variable? Also, what other DVD's have you put out? I searched and did not find much. You put together a nice program!