Chewing gum is flavored with a variety of different flavors and sugar or sugar substitute added. As you chew it, the sugar and flavoring dissolve. The longer you chew, the less flavor is left. But if you leave it on the bedpost, as the song says, it won't lose it's flavor. It will just be hard to chew and possibly a sticky mess on your bed.