Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

07 array iterators. #15

Open
jjeepjoe opened this issue Nov 25, 2018 · 0 comments
Open

07 array iterators. #15

jjeepjoe opened this issue Nov 25, 2018 · 0 comments

Comments

@jjeepjoe
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant