Source code
Revision control
Copy as Markdown
Other Tools
function square(n) {
return n * n;
}
export function exFoo() {
return "yay";
}
async function slowFoo() {
return "meh";
}
export async function exSlowFoo() {
return "yay in a bit";
}
function ret() {
return foo();
}
child = function() {};
(function() {
2;
})();
const obj = {
foo: function name() {
2 + 2;
},
bar() {
2 + 2;
}
};
export default function root() {
}
function test(a1, a2 = 45, { a3, a4, a5: { a6: a7 } = {} } = {}) {
console.log("pause next here");
}
() => (x = 4);
function ret2() {
return (
foo()
);
}