diff --git a/docs/docs/what-is-mdx.server.mdx b/docs/docs/what-is-mdx.server.mdx index 880475ba5..a5e0f76aa 100644 --- a/docs/docs/what-is-mdx.server.mdx +++ b/docs/docs/what-is-mdx.server.mdx @@ -236,7 +236,7 @@ MDX also supports JavaScript expressions inside curly braces: Two 🍰 is: {Math.PI * 2} ``` -Expressions can contain whole JavaScript programs as long as that they’re +Expressions can contain whole JavaScript programs as long as they’re (wrapped in) an expression that evaluates to something that can be rendered. You can use an [IIFE][] like so: