JavaScript ES6 Tutorial #8 - Object Literal Enhancements

preview_player
Показать описание
Yo gang, in this JavaScript es6 tutorial, I'll show you how we can refine the way we create object literals, to make them a little cleaner.

----- COURSE LINKS:

---------------------------------------------------------------------------------------------
You can find more front-end development tutorials on CSS, HTML, JavaScript, jQuery, WordPress & more on the channel homepage...

========== JavaScript for Beginners Playlist ==========

============ CSS for Beginners Playlist =============

============== The Net Ninja =====================

================== Social Links ==================

Рекомендации по теме
Комментарии
Автор

In this playlist #8 goes before #7.Btw awesome tutorials!

Arillaxe
Автор

Awesome Series...Also, that "Whoah!!!" gets me everytime lol

rohitmaharjan
Автор

Line 13 should be ninja.chop(5); otherwise we get undefined for console.log-ging the calling of fn chop() :)

fionna
Автор

nice work man you should talk about prototype too

emmanueleban
Автор

always force me to put like for your videos

mohammadsamir
Автор

Normally with Object literal we mostly encapsulate the member variables with the Object Literal. e.g.

var Ninja = {
name:"Crystal",
belt: "Black",
show: function() {
console.log(`${this.name} attained ${this.belt} belt`);
}
};

Ninja.show();

So to get a bit of encapsulation. For understanding what do you think the difference in both approaches and how ES6 might be better?

bilalawandxb
Автор

hi is there any github link you save these codes there?tnx

mahsam