JSFiddle - React, Tailwind, and code Playground
JavaScript
$(function() {
for (var key in $('#test')) {
var value = $('#test')[key];
if (typeof value == 'function') {
$('body').append(key + ', ');
}
}
});
$(function() {
for (var key in $('#test')) {
var value = $('#test')[key];
if (typeof value == 'function') {
$('body').append(key + ', ');
}
}
});