playwright/test/assets/jscoverage/involved.html

16 lines
225 B
HTML
Raw Normal View History

2019-11-19 05:18:28 +03:00
<script>
function foo() {
if (1 > 2)
console.log(1);
if (1 < 2)
console.log(2);
let x = 1 > 2 ? 'foo' : 'bar';
let y = 1 < 2 ? 'foo' : 'bar';
let z = () => {};
let q = () => {};
q();
}
foo();
</script>