JavaScript - Check if an element is present or not in a stack

JavaScript - Check if an element is present or not in a stack

More to explore

Based on this image's title: “JavaScript - Check if an element is present or not in a stack