Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Function Declarations | Understanding and Writing Functions
Functions in JavaScript

bookFunction Declarations

1234
function addAndLog(a, b) { const sum = a + b; console.log("The sum is: " + sum); }
copy
question mark

Select the correct answer

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 3

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

Suggested prompts:

Can you explain what parameters are in a function?

What happens if I call the function without providing any arguments?

Can you show me how to call the `addAndLog` function?

bookFunction Declarations

Свайпніть щоб показати меню

1234
function addAndLog(a, b) { const sum = a + b; console.log("The sum is: " + sum); }
copy
question mark

Select the correct answer

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 3
some-alt