Мой профиль
← GitHub CopilotINTRO LESSON

Meet GitHub Copilot

Read the example

Follow each line, then choose an answer. You can try again. Your result stays in this browser.

// Write a function that doubles a number.
function double(n) {
  return n * 2;
}
console.assert(double(3) === 6);

What should you do with AI-generated code?

Back to course map