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