JSFiddle - React, Tailwind, and code Playground
by Thinkscape
HTML
<img src="whatever.png" alt="" />
JavaScript
$('img[src$=png]'); // this works ok
$('img[src$=".png"]'); // this will crash
by Thinkscape
<img src="whatever.png" alt="" />
$('img[src$=png]'); // this works ok
$('img[src$=".png"]'); // this will crash