Skip to content
Coding Challenge
Profile icon
dsbaluch

Construct a function intersection that compares input arrays and returns a new array with elements found in all of the inputs.

You are viewing a single comment. View All
Profile icon
kaldisberzins

Small bit of advice, seems like you use var and let interchangeably. I recommend using only let for variables that will change and const for variables that will not.