some vs every Playground

Before the train leaves Sri asks each wagon through some and every: at which wagon does she stop asking, and what do the two answer for an empty train? An…

The key idea

some = 'is there any…?', every = 'is it all…?', and an empty array flips both

Try it in this playground