mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
16 lines
225 B
HTML
16 lines
225 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 z = () => {};
|
||
|
let q = () => {};
|
||
|
q();
|
||
|
}
|
||
|
|
||
|
foo();
|
||
|
</script>
|