Re:_hyperscript: A jQuery and JavaScript Alternative
by deniz-a on Thursday April 22, 2021 @06:15AM
(#26900977)
Thankfully, we have arithmetic expressions :]
Every command has an initial verb, which makes parsing easier (both by computer, and hopefully by people). Just for fun, here are your examples in hyperscript:
get numA / numB then put it into resDiv
-- or simply
set resDiv to numA / numB
repeat 5 times index loopCount
log loopCount
end
Every command has an initial verb, which makes parsing easier (both by computer, and hopefully by people). Just for fun, here are your examples in hyperscript: