Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript 2 arrays – printing when they match up Re: 2 arrays – printing when they match up

#140447
Alen
Participant

I don’t have time to play with this now. But in your if statement you are assigning price to carMake, it should be `==` or better yet `===`.