In [1]:
# Code
Editor (top-level await OK)
// Try me — Shift+Enter runs
const greet = (name) => `Hello, ${name}!`;
console.log(greet('Enrico'));
// Top-level await works
const res = await fetch('https://api.github.com/repos/enricocarraro/cutsilence');
const json = await res.json();
console.log('Stars:', json.stargazers_count);
Console