Добавить
Уведомления

Learn Javascript, return, codecademy

In this codecademy tutorial we look at return statements. Return statements in javascript functions allow us to return a result after a function has finished running. Return statements are preferred over console.log statements. In this lesson we create a return statement to return the price of pizzas ordered depending on how many times the takeOrder function is called.

12+
16 просмотров
2 года назад
12+
16 просмотров
2 года назад

In this codecademy tutorial we look at return statements. Return statements in javascript functions allow us to return a result after a function has finished running. Return statements are preferred over console.log statements. In this lesson we create a return statement to return the price of pizzas ordered depending on how many times the takeOrder function is called.

, чтобы оставлять комментарии