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
Auf dieser Seite können Sie das Online-Video JavaScript Tutorial for Beginners - Part 11 | JavaScript Data Types | LearnWebTechnologies mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Learn Web Technologies 07 Januar 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 19 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!