JS_HOME_WORK/62-different-functions/finish.js
2025-02-05 08:47:22 +01:00

17 lines
495 B
JavaScript
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/** ЗАДАЧА 62 - Разница в объявлении функций
*
* 1. Объясните разницу между двумя вариантами объявления функций
*
* 2. Покажите эту разницу, добавив дополнительный код под функциями
*
* 3. Также вызовите обе функции
*/
function firstFunction(a, b) {
return a + b
}
const secondFunction = function (a, b) {
return a + b
}