-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path41.polyfill_features.js
More file actions
50 lines (36 loc) · 835 Bytes
/
Copy path41.polyfill_features.js
File metadata and controls
50 lines (36 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// // Example 164 - workaround 1
//
// // toggle comment this function to see what atob2() function prints
// // in the end
// function atob2() {
// console.log("Hello JavaScript");
// }
//
//
// if(typeof atob2 === "undefined") {
// console.log('atob2 does not exist.');
// atob2 = () => {
// console.log("Hello Node.js");
// };
// }
//
//
// atob2();
// // Example 165 - workaround 2
// // function Logger(msg) {
// // var now = (new Date()).toUTCString();
// // console.log("[" + now + "] " + msg);
// // }
// //
// // Logger('server started...');
//
//
//
// (function doSomethingCool() {
// var helper = (typeof Logger !== "undefined") ? Logger : function (msg) {
// console.log("[" + Date.now() + "] " + msg);
// };
//
//
// helper('server started...');
// })();