Update README.md
这个提交包含在:
父节点
394c0c0afb
当前提交
f6c7618c46
13
README.md
13
README.md
@ -7,16 +7,17 @@ Note: Unicode may be handled incorrectly (like the browser).
|
|||||||
|
|
||||||
It turns base64-encoded <strong>a</strong>scii data back **to** <strong>b</strong>inary.
|
It turns base64-encoded <strong>a</strong>scii data back **to** <strong>b</strong>inary.
|
||||||
|
|
||||||
(function () {
|
```javascript
|
||||||
|
(function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var atob = require('atob')
|
var atob = require('atob');
|
||||||
, b64 = "SGVsbG8gV29ybGQ="
|
var b64 = "SGVsbG8gV29ybGQ=";
|
||||||
, bin = atob(b64)
|
var bin = atob(b64);
|
||||||
;
|
|
||||||
|
|
||||||
console.log(bin); // "Hello World"
|
console.log(bin); // "Hello World"
|
||||||
}());
|
}());
|
||||||
|
```
|
||||||
|
|
||||||
### Need Unicode and Binary Support in the Browser?
|
### Need Unicode and Binary Support in the Browser?
|
||||||
|
|
||||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户