clover's git
ix
login
about
branches
tags
log
tree
search
issues (60)
Search
ix
test
behavior
direct_eval
pretty
plain
permalink
blame
history
•
6 lines
•
143 B
1
let eval = @extern("eval");
2
3
fn main {
4
eval("var x = 1");
5
eval("if (globalThis.x != 1) throw new Error('Emitted as direct eval');");
6
}