tests/hello.js
authorAlan Knowles <alan@roojs.com>
Thu, 19 Mar 2015 10:57:29 +0000 (18:57 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 19 Mar 2015 10:57:29 +0000 (18:57 +0800)
tests/hello.js

index aa54147..c8609cf 100644 (file)
@@ -1,6 +1,6 @@
 
 function hello(w) {
-       var a = JSON.decode(w);
+       var a = JSON.parse(w);
        return JSON.stringify(w)+'xx';
 
 }