You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/validator/samples/helper-purity-check-uses-ar.../input.html

13 lines
204 B

{{sum(1, 2, 3)}}
<script>
export default {
helpers: {
sum () {
var total = '';
for ( var i = 0; i < arguments.length; i += 1 ) total += arguments[i];
return total;
}
}
}
</script>