Share your repls and programming experiences

← Back to all posts
Coding Challenge
dsbaluch (3)

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

Comments
hotnewtop
dsbaluch (3)

@kaldiberzins, thank you so much for your comment. I will avoid using var.

kaldisberzins (346)

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.