How would I write a complex if statement where the following criteria need to be met for a “true” alert.
price < 25 and hardcover
price < 15 and softcover
pubYear is after 2000
the book is a NewYorkTImes Bestseller
and the series title is “Packers Football”
bookObject=(price, pubYear, seriesTitle, NYTBS, seriesTitle)
Shouldn’t be that complicated. Something like:
But without knowing how you’ve set up your JavaScript objects, it’s impossible for me to give you a correct answer.