func.js (568B)
1 function square(n) { 2 return n * n; 3 } 4 5 export function exFoo() { 6 return "yay"; 7 } 8 9 async function slowFoo() { 10 return "meh"; 11 } 12 13 export async function exSlowFoo() { 14 return "yay in a bit"; 15 } 16 17 function ret() { 18 return foo(); 19 } 20 21 child = function() {}; 22 23 (function() { 24 2; 25 })(); 26 27 const obj = { 28 foo: function name() { 29 2 + 2; 30 }, 31 32 bar() { 33 2 + 2; 34 } 35 }; 36 37 export default function root() { 38 } 39 40 function test(a1, a2 = 45, { a3, a4, a5: { a6: a7 } = {} } = {}) { 41 console.log("pause next here"); 42 } 43 44 () => (x = 4); 45 46 function ret2() { 47 return ( 48 foo() 49 ); 50 }