React Native code doesn't work without Remote Debugger enabled : <p>This a weird question, but since I'm really curious about this I wanted to ask. I have a piece of code that works in the iOS Simulator when I enable Remote Debugging but it stops working without it. This is the code:</p>

<pre><code>      let filtered = []
      let dueDate
      const dateNow = new Date(Date.now())

      for (let item of this.props.listData) {
        dueDate = new Date(item.dueDate)
        if (!item.paid &amp;&amp; (dueDate &lt; dateNow)) {
          filtered.push(item)
        }
      }
      if (filtered.length &gt; 0) {          
        this.setState({
          dataSource: this.state.dataSource.cloneWithRows(filtered)
        })
      }
</code></pre>

<p>(item.dueDate is a string like "12.02.2016")</p>

<p>Obviously the code would work (and it works) if I supplied the date in a correct format (like ISO "2016-02-12"). What interests me is why does it work even with the wrong format when I enable Remote Debugging (which fires up a Google Chrome instance)? Because when I console.log the dates in Chrome they are converted normally. Thanks in advance!</p>
