From cd1027630cc2a0cc04b453b3432cb2ef2347e52e Mon Sep 17 00:00:00 2001 From: Ugric Date: Thu, 9 Mar 2023 00:15:25 +0000 Subject: [PATCH] fix example --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 86276ef..bd8de79 100644 --- a/readme.md +++ b/readme.md @@ -37,7 +37,7 @@ Here's an example of how to define a function in Argon 3: ```javascript f(x) = x^2 + 2*x + 1 -log('f(10) =', f(10)) +term.log('f(10) =', f(10)) ``` This code defines a function f(x) that calculates x^2 + 2*x + 1. It then calls the function with an argument of 10 and logs the result to the console.