<p>{{foo}}</p> <script> export default { computed: { foo: ( a = 1 ) => a * 2 } }; </script>