RunKit + npm: hyperscript

node v4.9.1
version: master
endpointsharetweet
var h = require("hyperscript") function something(a){ return a + 1 } let el = h('button', {onclick:(e)=>{something(10)}}) console.log(el.outerHTML)
Created from: https://runkit.com/npm/hyperscript
Loading…

no comments

    sign in to comment