From f6c7618c46f7ee9bef3b11f0b908cd16b047e952 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 14 Dec 2015 11:46:48 -0800 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ad1607d..b8cffda 100644 --- a/README.md +++ b/README.md @@ -7,16 +7,17 @@ Note: Unicode may be handled incorrectly (like the browser). It turns base64-encoded ascii data back **to** binary. - (function () { - "use strict"; +```javascript +(function () { + "use strict"; - var atob = require('atob') - , b64 = "SGVsbG8gV29ybGQ=" - , bin = atob(b64) - ; + var atob = require('atob'); + var b64 = "SGVsbG8gV29ybGQ="; + var bin = atob(b64); - console.log(bin); // "Hello World" - }()); + console.log(bin); // "Hello World" +}()); +``` ### Need Unicode and Binary Support in the Browser?