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