Notes for You:: Data Types in JavaScript - JavaScript Tutorial 14
Data type:
The name itself indicating, data type means type of data.
JavaScript typeof operator:
is a special operator, used to display the type of data.
Syntax:
typeof data;
where
data can be a data value, variable name or constant name
Example Code:
<script type="text/javascript">
var playerScore= 10;
document.write(playerScore); // 10
document.write(typeof playerScore); // number
var playerName= "Manju";
document.write(playerName); // Manju
document.write(typeof playerName); // string
var isGameOver = true;
document.write(isGameOver); // true
document.write(typeof isGameOver); // boolean
var speed = undefined;
document.write(speed); // undefined
document.write(typeof speed); // undefined
var rollNumbers = [10,20,30];
document.write(rollNumbers); // 10,20,30
document.write(typeof rollNumbers); // object
var point = {x:10,y:10};
document.write(point); // [object Object]
document.write(typeof point); // object
var point=null;
document.write(point); // null
document.write(typeof point); // object
</script>
Note:
replace < with less-than symbol
replace > with greater-than symbol
=========================================
Follow the link for next video:
JavaScript Tutorial 15 - Types of Data Types in JavaScript
• Types of Data Types in JavaScript - J...
Follow the link for previous video:
JavaScript Tutorial 13 - Naming conventions for Variables & Constants in JavaScript
• JavaScript Naming Conventions - JavaS...
=========================================
JavaScript Tutorials Playlist:-
• JavaScript Tutorials
=========================================
Watch My Other Useful Tutorials:-
jQuery Tutorials Playlist:-
• jQuery Tutorials
jQuery UI Tutorials Playlist:-
• jQuery UI Tutorials
Bootstrap Tutorials Playlist:-
• Bootstrap4 Tutorials
=========================================
HI, I am Manjunath Chidre and I'm an Indian born. I make video tutorials on Computer Science, Information Technology, Animation, VFX, Multimedia, & Gaming courses. Essentially, I set my goal to help students around the world; to learn at free of cost; through my educational YouTube channel Chidre'sTechTutorials.
=========================================
Every video on my channel is made with Love and Hard work, So don't forget to Like, Comment & Share.
Please do Subscribe, Hit the bell icon & Enjoy Learning. It's FREE.
=========================================
Subscribe to our YouTube channel:-
/ chidrestechtutorials
Join as member of our YouTube channel:-
https://www.youtube.com/chidrestechtu...
Become our Patron:-
/ chidrestechtutorials
Visit our Website:-
https://www.chidrestechtutorials.com
Download our Notes from Instamojo:-
https://chidrestechtutorials.myinstam...
Buy our Products on Spring:-
https://chidres-tech-tutorials.creato...
=========================================
Follow us:-
Google My Business:-
https://chidrestechtutorials.business...
Google Blog:-
http://manjunathchidre.blogspot.com
LinkedIn:-
/ chidrestechtutorials
Facebook:-
/ chidrestechtutorials
Twitter:-
/ manjunathchidre
Tumblr:-
/ chidrestechtutorials
Pinterest:-
/ chidrestechtutorials
=========================================
Despite my inconsistent uploads; Thanks for being amazing learners and still sticking with me on YouTube.
=========================================
Hash Tags:-
#ChidresTechTutorials #JavaScript #JavaScriptTutorial
Sur cette page du site, vous pouvez voir la vidéo en ligne Data Types in JavaScript - JavaScript Tutorial 14 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur ChidresTechTutorials 30 janvier 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 6,078 fois et il a aimé 127 téléspectateurs. Bon visionnage!