mirror of https://github.com/sveltejs/svelte
parent
411a9f91b1
commit
5b57a17632
@ -0,0 +1,9 @@
|
||||
export default {
|
||||
compileOptions: {
|
||||
name: 'Set'
|
||||
},
|
||||
|
||||
preserveIdentifiers: true,
|
||||
|
||||
html: `<p>true</p>`
|
||||
};
|
@ -0,0 +1,5 @@
|
||||
<script context="module">
|
||||
let set = new Set(['x']);
|
||||
</script>
|
||||
|
||||
<p>{set.has('x')}</p>
|
Loading…
Reference in new issue