Object Literals and Constructors

preview_player
Показать описание
This tutorial explains what an Object literal is and how it differs from the Object constructor. Also discussed is what happens when you pass different types of values to the Object constructor method.

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

your channel is a javascript HEAVEN 😍😂

AbdoTech
Автор

The tempo, the tone, the information, the examples were just perfect for me. I m just diving into Js, and you re my to go explanation channel on day one. Many thanks.

junglist
Автор

The best JavaScript teacher ever. Really the best. Thanks for the great content.

tahasoft
Автор

You are extremely good at making concepts so easy to understand. Thanks for all your work.

bryantruelas
Автор

ten minutes or so, you made clear all things about Object, it is not a easy feat. As always thank you very much. Best javascript channel I found on or beyond youtube.

rotrose
Автор

Very useful recap on objects and primitives.

iwswordpress
Автор

Thank you, steve. This really makes sense. But I have to this two or three more times to fully understand.

dyracho
Автор

sir, I have a confusion,
why can "string" get access to String Object methods when it's decalared without anykeyword

like this: "string"
console.log("string" instanceof string)//prints out false
if this is not an instance of String object why can it access the String object's property which is .length in this case
out the length of the string(6)

it can also use method like .split()

but console prints out "string" is not an instance os String object tho

romeojoseph