6 lines
85 B
HTML
6 lines
85 B
HTML
<script>
|
|
/a|b/i.test("baby");
|
|
// arrow function
|
|
() => /a|b/i.test("baby");
|
|
</script>
|