First commit

This commit is contained in:
2025-01-15 19:42:35 +01:00
committed by andreas
commit 6e1a5f9fe5
18475 changed files with 3309357 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
(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');
}());