JSFiddle - React, Tailwind, and code Playground

by garreh

HTML

<input id="test" value="hello!"/>

JavaScript

alert($('#test')[prompt('Method?')]());