title: FullCalendar select with resourceId
body: <p>I am using the FullCalendar 5.10.0 method &quot;<a href="https://fullcalendar.io/docs/Calendar-select" rel="nofollow noreferrer">Calendar::select</a>&quot; like this</p>
  <pre><code>calendar.select({new Date(&quot;2022-04-22T08:00:00&quot;),  new Date(&quot;2022-04-22T18:00:00&quot;), true, id});
  </code></pre>
  <p>The id variable is set to the id (B331) of the resource and the resource looks like this:</p>
  <pre><code>{id: 'B331', resourceId: 'B331', title: 'B331', occupancy: 8}, 
  </code></pre>
  <p>But keep getting this error:</p>
  <pre><code>Uncaught SyntaxError: Unexpected identifier
  </code></pre>
  <p>What am I doing wrong?</p>