Index: scripts/astDecompile.js |
diff --git a/scripts/astDecompile.js b/scripts/astDecompile.js |
index 7436bac0947307f7089bd5ba3a6c385d47c63797..10c3d3bf21b77e690a070fcb6cd64743a97e0b81 100644 |
--- a/scripts/astDecompile.js |
+++ b/scripts/astDecompile.js |
@@ -247,7 +247,7 @@ function decompileFunctionExpression(ast) { |
return decompileFunctionDeclaration(ast); |
} |
-function decompileArrowExpression(ast) { |
+function decompileArrowFunctionExpression(ast) { |
let str = "(" + ast.params.map(decompileAST).join(", ") + ")"; |
str += " => " + decompileAST(ast.body); |
return str; |