JSFiddle - React, Tailwind, and code Playground
by snover
HTML
<div><img style="display:none" width="215" height="53" alt="http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif" src=""/></div>
<div id="result"></div>
JavaScript
var r = [$('img').attr('width'), $('img').attr('height'), $('img').width(), $('img').height()];
$('#result').append(r.join(' '));