Report question

Question: How can I check if my string contains a period in JavaScript?