1234567891011121314151617181920 |
-
- (function () {
- "use strict";
-
- var atob = require('.')
- , encoded = "SGVsbG8gV29ybGQ="
- , unencoded = "Hello World"
-
-
- ;
-
- if (unencoded !== atob(encoded)) {
- console.log('[FAIL]', unencoded, atob(encoded));
- return;
- }
-
- console.log('[PASS] all tests pass');
- }());
|