fork download
  1. <script>
  2. fetch('https://a...content-available-to-author-only...r.app/currencies')
  3. .then((res) => res.jon())
  4. .then((res) => dropdown(res));
  5.  
  6. function dropdown(res){
  7. console.log(Object.entries(res)[0][1]);
  8. }
  9.  
  10. </script>
Success #stdin #stdout 0.03s 25792KB
stdin
Standard input is empty
stdout
<script>
fetch('https://a...content-available-to-author-only...r.app/currencies')
  .then((res) => res.jon())
  .then((res) => dropdown(res));

function dropdown(res){
  console.log(Object.entries(res)[0][1]);
}

</script>