We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d7a241 commit 0abcb2bCopy full SHA for 0abcb2b
packages/compiler-dom/src/transforms/stringifyStatic.ts
@@ -330,7 +330,7 @@ function stringifyElement(
330
// here, e.g. `{{ 1 }}` or `{{ 'foo' }}`
331
// in addition, constant exps bail on presence of parens so you can't even
332
// run JSFuck in here. But we mark it unsafe for security review purposes.
333
-// (see compiler-core/src/transformExpressions)
+// (see compiler-core/src/transforms/transformExpression)
334
function evaluateConstant(exp: ExpressionNode): string {
335
if (exp.type === NodeTypes.SIMPLE_EXPRESSION) {
336
return new Function(`return ${exp.content}`)()
0 commit comments