| (function () { | |
| "use strict"; | |
| var atob = require('.'); | |
| var encoded = "SGVsbG8sIFdvcmxkIQ==" | |
| var unencoded = "Hello, World!"; | |
| /* | |
| , encoded = "SGVsbG8sIBZM" | |
| , unencoded = "Hello, 世界" | |
| */ | |
| if (unencoded !== atob(encoded)) { | |
| console.log('[FAIL]', unencoded, atob(encoded)); | |
| return; | |
| } | |
| console.log('[PASS] all tests pass'); | |
| }()); | |
Xet Storage Details
- Size:
- 362 Bytes
- Xet hash:
- 19e08a226d1a2b5a56c8401e4702aec1341410e582e618096728f57359755821
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.