mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
17 lines
316 B
HTML
17 lines
316 B
HTML
<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 p = {a:1 > 2?function(){console.log('unused');}:function(){console.log('unused');}};
|
|
let z = () => {};
|
|
let q = () => {};
|
|
q();
|
|
}
|
|
|
|
foo();
|
|
</script>
|