Data Types - Beau teaches JavaScript

preview_player
Показать описание
Learn about the seven data types in JavaScript ES6 (ECMAScript 6).

Code

Other resources on topic:

⭐JavaScript Playlists⭐

-
We're busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community.

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

great tutorial
but i think it is a lot much easier to understand Object type:

var myCar = {
make = "Ford",
model = "Mustang"
};

Galejandro
Автор

When do we use Symbol..exactly..? Excuse me could you write a brief example, please??

jjjayj
Автор

Hey thanks for this I've been studying javascript till I got up to this thanks for clarifying these.

johnandersmith
Автор

Need more explanation on symbol and objects

BitterMonday
Автор

In the first example you did have to say....if(data === true)    I guess it just assumes true first???

stepbystepscience
Автор

var a = function(){}; console.log(typeof a);

JamesTindall
Автор

What's the point of:
var myNumber = null;
when:
var myNumber = 0;
takes fewer keystrokes?

fkzwjsp
Автор

<script type="text/javascript">
var name1 = Symbol("Description 1");
var name2 = Symbol("Description 2");
name1 = "John"
name1 = "Smith"
console.log(name1);
</script>
If the value are unique than why John is overwriting Smith What is the use of Symbol in this code?

sarfaraz
Автор

Hi Beau. Thanks for putting so much effort into this . This tutorial is just amazing.

I have a question. Why does plus operator and multiplication operator behave differently when used with a null value.

1 + null = 1;
but
1 * null = 0;

rahulbawa
Автор

Do these videos follow along with the original JS track or the new beta JS track better?

briancox
Автор

Bean means beautiful in French ! Where did you get that name you lucky guy

drdzdd
Автор

Q: At 6mins, are .make and .model the properties of the Object?

Thank you for your videos!

astronaftis
Автор

Thanks for these tutorials, big fan of FCC. Ok, the undefined and Null is not, ahem, well defined. :). Speaking from what I have learnt from FCC itself, here is an e.g. of undefined -a bit different from Null.
var test = function(a, b) {
a+b;
}
console.log(test(1, 2)); //this will give you undefined

jatinc
Автор

Hi, nice video, I wonder what text editor are you using?

shopir
Автор

Objects in JS seem to work like how I guess you would use a dictionary in Python

ToriKo_
Автор

any code editor will do just fine for Javascript

lawrencekin
Автор

The real question is how many people from The odin project are here? 🤔 TOP RULES!

JordanWayman
Автор

Hi, there is no data type null in javascript. If you declare a variable without initialization, it's type is "undefined". But if you initialize the variable to null, it's type is "object". As you said, null is a value that means "no value". Null is not a data type.

ptaczek
Автор

GRAND SUMMARY

Booleans - Watch in video.

Null - means nothing or zero if you do math with it ! Use when some variable has no value assigned to them.

Undefined - is not similar to null. means that a variable has either not been declared at all OR has been declared but holds no value. yield NaN if you do math with it. Is NOT zero.

Number - Watch in video.

Symbols - Their instances are unique and immutable. so if two symbols,

sym1 = Symbol ("foo") and sym2 = Symbol ("foo") are compared; sym1 === sym2, it will give false.
if you typecast them both to string, it will give true ! but typecasting to string also means that it will print like "Symbol(foo)" in console ...

Object - It is a collection of properties. Properties themselves are key-value pairs.

smyasir
Автор

console.log("algo que seria genial, es que tuviera subtitulo en español.");

juancarlosortega
visit shbcf.ru