JavaScript Shorts · Clean Code · Bad Code vs Good Code · Functions

preview_player
Показать описание
#javascript
JavaScript Shorts:

JavaScript Quick Tips: Clean Code, Differentiating Between Bad and Good Code, and the Functions
Рекомендации по теме
Комментарии
Автор

These functions literally do two different things. One console logs a string, the other an object with properties that just so happened to be used in the previous example. They are completely different. I can pass any object into the second function. Neither of these functions actually do what the function name says.

MobiusCoin
Автор

Is this basically like using a JS class?

CrushedAsian
Автор

A Turkish programmer 😂😂😂 that's new

farhadkeyvanghazvini