Skip to content

Commit

Permalink
simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah11918 authored Mar 22, 2022
1 parent 1f75c21 commit 696833f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/pages/en/guides/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,8 @@ import { Debug } from 'astro/components';
const sum = (a, b) => a + b;
const answer = sum(2, 4);
---
<!-- Example: All three examples will output an answer value of "6" to the browser. -->
<!-- Example: All three examples are equivalent. -->
<Debug answer={sum(2, 4)} />
<Debug {{answer: sum(2, 4)}} />
<Debug {answer} />
```






0 comments on commit 696833f

Please sign in to comment.