From 52404c578c1f95844ee911fb9034c6edafa79d2c Mon Sep 17 00:00:00 2001 From: Todd Allen Date: Thu, 27 Jun 2019 10:36:58 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a51a3d..bae496a 100644 --- a/README.md +++ b/README.md @@ -33,9 +33,9 @@ For example, the following code converts all numbers to floats and makes strings ```squirrel result <- JSONParser.parse(jsonString, function (value, type) { if (type == "number") { - return val.tofloat(); + return value.tofloat(); } else if (type == "string") { - return val.toupper(); + return value.toupper(); } }); ```