⚔️ Code Clash
Pick a player
← ⚡ JavaScript World

⚡ Double Trouble

★☆☆☆☆ · worth 50 points

You can practise without a player, but pick a player to score points!

📖 The mission

Today you unlock

Functions return answers

A function is a tiny machine: it receives inputs, works something out, then returns one answer for the tests to check.

💡 Hint ladder

🧪 Coach checks

  • ◯ doubles 4
  • ◯ doubles 0
  • ◯ doubles -3
  • ◯ doubles 2.5
Live coach

Getting ready

    ☆☆☆