From ead08c56606e4caa30eaba05a96518fa9a2adeb4 Mon Sep 17 00:00:00 2001 From: Marcio Pamplona Date: Fri, 16 Nov 2018 17:07:11 -0200 Subject: [PATCH] File.write example correction --- mjs/lib/api_file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mjs/lib/api_file.js b/mjs/lib/api_file.js index ea01b8d..bb276de 100644 --- a/mjs/lib/api_file.js +++ b/mjs/lib/api_file.js @@ -39,7 +39,7 @@ let File = { // // Example - write a configuration object into a file: // ```javascript - // File.write(JSON.stringify(obj, 'settings.json')); + // File.write(JSON.stringify(obj), 'settings.json'); // ``` write: function(str, path, oMode) { let fp = File.fopen(path, oMode || 'w');