title: unable to use String.includes() method on a function's parameter
body: <p>I am attempting to determine whether a passed value to the function addToCalendar (sport) includes the String <em>"soccer"</em> by using the code below:</p>
  
  <pre><code>function addToCalendar(sport, date, time){
  
    var sportName = String(sport);
    Logger.log(sportName.includes("Soccer"));
  
  }
  </code></pre>
  
  <p>However, I am getting this error: <strong>TypeError: Cannot find function includes in object Soccer: Girls JV. (line 77, file "Code")</strong> how would I fix this?</p>