title: JS: In IE11, string method endsWith() is not working
body: <p>When I tried <code>this.form.name.endsWith("$END$")</code> in IE11, getting following error.</p>
  
  <pre><code>Object doesn't support property or method 'endsWith'
  </code></pre>
  
  <p>In Chrome, its working fine. Is there any alternative string method in IE11</p>