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
Sur cette page du site, vous pouvez voir la vidéo en ligne JavaScript Tutorial for Beginners - Part 11 | JavaScript Data Types | LearnWebTechnologies durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Learn Web Technologies 07 janvier 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 19 fois et il a aimé 2 téléspectateurs. Bon visionnage!