%PDF- %PDF-
Direktori : /proc/309157/root/www/specpages-backup/node_modules/atob/ |
Current File : //proc/309157/root/www/specpages-backup/node_modules/atob/test.js |
(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'); }());