Item Availability
- Create variables itemInStock and isSubscribed.
- Use the && operator to log "You can purchase this item" if both conditions are true.
- Otherwise, provide a reason why they cannot purchase.
- If itemInStock is true and isSubscribed is true then print message "You can purchase this item".
- If itemInStock is false then print "The item is out of stock".
- If isSubscribed is false then print message "You need to be subscribed".
- Handle via function all code on clicking button.