• Saturday , 4 April 2020

#6 JavaScript Tutorial | Variables & Data Types

Code Canyon



In this video tutorial we will study and understand the concept of Variables & Data Types in JavaScript.
Variables –
Following are some basic definitions of variables in a typical programming language context.
A variable provides us with a named storage that our programs can manipulate. It is the basic unit of storage in a program.
Variables are used to store information to be referenced & manipulated in a computer program.
In programming, a variable is a value that can be changed depending on the conditions or information being passed to the program.

Data Types –
Datatypes are basically type of data that can be used and manipulated in a program. For e.g. numbers(1, 2, 5,5), string(“hello Simple Snippets”, “JS”), boolean(true, false) etc.

JavaScript provides different data types to hold different types of values. There are two types of data types in JavaScript.(as shown in the diagram above)
Primitive data type (string, number, boolean, null, undefined)
Non-primitive (reference) data type (objects, arrays)
For Program code, info & more resources checkout this article –
https://simplesnippets.tech/javascript-variables-data-types/
Video by – Tanmay Sakpal
Simple Snippets Channel link – https://www.youtube.com/simplesnippets

Original source

3d Ocean

Related Posts

34 Comments

  1. Divya Chaudhary
    November 28, 2019 at 19:16

    Nicely explained tutorials..thnx

  2. Eshaan Suri
    November 28, 2019 at 19:16

    subbing

  3. nirmala reddy
    November 28, 2019 at 19:16

    Nice flow,ur vedios r really helping

  4. Aditi Chauhan
    November 28, 2019 at 19:16

    If we use external js file and after that we write line like
    <script src="file location ">
    document.write("hello world");
    </script>
    My query is that my external file is running but the line that i write after that is not displayed.

  5. Rana Rashid
    November 28, 2019 at 19:16

    i am using visual code
    after writing document.write("name");
    my program is not running the output is name which is given into the parentheses instead of my name which i wrote..

  6. Shreeparna Banerjee
    November 28, 2019 at 19:16

    Thanks …they are easy to understand…keep it up!
    Now I feel that js is quite easy !

  7. Saukat Hussain
    November 28, 2019 at 19:16

    Where is navin

  8. ASHISH singh negi
    November 28, 2019 at 19:16

    document.write("is it important to have typing speed?");
    /* just asking………
    */

  9. Gamer007
    November 28, 2019 at 19:16

    but why use document.write() for printing stuff instead of console.log() method. Also can't we just use the javascript coding part without the html part and see the output in the console?

  10. Kavya Sitani
    November 28, 2019 at 19:16

    Go live is not working

  11. latts7
    November 28, 2019 at 19:16

    your javascript series is really awesome ,it helped me lot. I humble request to you please create series for java language.

  12. Sandeep Singh
    November 28, 2019 at 19:16

    Please tell us the use of null & undefined

  13. vamshi nandu
    November 28, 2019 at 19:16

    Thanks sir I liked ur explanation 👍👌 and it is understandable.

  14. Mohit Manglani
    November 28, 2019 at 19:16

    Ok It was nice Explanation. But I have one dought that I am showing here!!!

    <script>

    var num=34;

    var name="Mohit";

    document.write( "<b/>" + num);

    document.write("<br>");

    document.write(name);

    </script>

    output:
    34
    (in bold)
    Mohit(in bold)

    Why javascript showing Mohit in bold!! Run this code in your browser you will get it!! Thank you in Advance!!!

  15. arafath ali
    November 28, 2019 at 19:16

    Can you please tell any Java Script reference book Name

  16. Swagata Chakraborty
    November 28, 2019 at 19:16

    It looked better in dark theme sir

  17. Manish Vashisth
    November 28, 2019 at 19:16

    Well Done!

  18. chirayu joshi
    November 28, 2019 at 19:16

    Can you please discuss scope of variable in JS ?
    Is there any concept of static in JS ?

  19. Tejab Titare
    November 28, 2019 at 19:16

    What the size and range of var date type that is loosly type…how it will find?..thanks sir good explaination..

  20. sumit gupta
    November 28, 2019 at 19:16

    Sorry sir in java tutorial I have discussing my doubts related to Python so plz forgive me
    Sir I m a CA student and want to learn VBA but like your video related to python now I m learning python with your video series but now I confused that python can make balance sheet or other financial report for me .
    Sorry once again sir due to write a big post sir plz make telegram group for asking a qus.

  21. Abdo Najjar
    November 28, 2019 at 19:16

    Thanks alot sir
    Im waiting for your next video ")

  22. MyTv
    November 28, 2019 at 19:16

    what is the diff b/n let x=9 and var x=9?

  23. Jaeson Laishram
    November 28, 2019 at 19:16

    Sir can i join and learn python

  24. Bhavika khatri
    November 28, 2019 at 19:16

    Very well explained:)
    Thank you.!

  25. Harsh Vardhan .
    November 28, 2019 at 19:16

    What is Hadoop ?

  26. Technology concepts
    November 28, 2019 at 19:16

    Thanks sir for teaching about the variable and data types

  27. SADDAM AHMAD
    November 28, 2019 at 19:16

    thank you very much sir for this video

  28. Jegadheesh Ganesan
    November 28, 2019 at 19:16

    Good work. Very good to listen in continue as Telusko

  29. Purushottam Kute
    November 28, 2019 at 19:16

    Thank you sir loving your work please upload daily

  30. Prasad Bonam
    November 28, 2019 at 19:16

    Thanq boss

  31. taher
    November 28, 2019 at 19:16

    The best video for JavaScript 😊👌

  32. Bhupathi Anr
    November 28, 2019 at 19:16

    ThanQ sir….awome delivaring the content

  33. Yogesh Vishnole
    November 28, 2019 at 19:16

    Super explanation sir

  34. Zulfequar Ali
    November 28, 2019 at 19:16

    But I couldn't understand, why do I listen you saying "peace" or "please" at the end of every video?

Leave A Comment

You must be logged in to post a comment.