CSS Playlist
• CSS Tutorial for Beginners
HTML Playlist
• Html tutorial for beginners
Sign up for my newsletter to receive weekly updates
http://bit.ly/2RRFktj
Join our facebook page
bit.ly/2OKQYV7
JavaScript Data Types
JavaScript variables can hold many data types: numbers, strings, objects and more:
The Concept of Data Types
In programming, data types is an important concept.
To be able to operate on variables, it is important to know something about the type.
When adding a number and a string, JavaScript will treat the number as a string.
JavaScript evaluates expressions from left to right. Different sequences can produce different results:
JavaScript Types are Dynamic
JavaScript has dynamic types. This means that the same variable can be used to hold different data types:
JavaScript Strings
A string (or a text string) is a series of characters like "John Doe".
Strings are written with quotes. You can use single or double quotes:
JavaScript Numbers
JavaScript has only one type of numbers.
Numbers can be written with, or without decimals:
JavaScript Booleans
Booleans can only have two values: true or false.
JavaScript Arrays
JavaScript arrays are written with square brackets.
Array items are separated by commas.
JavaScript Objects
JavaScript objects are written with curly braces {}.
Object properties are written as name:value pairs, separated by commas.
----------------------------------------------------------------------------------------------------------------
#LearnWebTechnologies #Javascript #JavascriptTutorialForBeginners #JavascriptPlaylist
En esta página del sitio puede ver el video en línea JavaScript Tutorial for Beginners - Part 11 | JavaScript Data Types | LearnWebTechnologies de Duración hora minuto segunda en buena calidad , que subió el usuario Learn Web Technologies 07 enero 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 19 veces y le gustó 2 a los espectadores. Disfruta viendo!