• Saturday , 4 July 2020

JavaScript Tutorial – Undefined and Null

Code Canyon



http://tippingpointmediastudios.com/javascript-tutorial-undefined-and-null/

In this fourth part of the Javascript for Beginners series, I will be covering over Undefined and Null data types, including their similarities and differences. Undefined and Null can be seen as interchangeable most of the time even though they are not exactly the same technically speaking. At their core, they represent different values, but are generally the same kind of data type. This leads me into another important concept in Javascript called type coercion, or automatic type conversion. Type coercion is designed into the Javascript language being that it is a loosely typed programming language and allows for this level of flexibility. Whereas other languages that are strongly typed or static require variables and values to be assigned a data type identification. The list of examples in this tutorial can be viewed directly in the Github link below:

Github Link to Undefined.js file: http://bit.ly/undefined-null-js

Typeof operator MDN documentation: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof

Like this video and want to see more? Share, subscribe, or give it a thumbs up!

Connect With Me:

Website: http://www.sylviamaguina.com

Twitter: https://twitter.com/SMag23

Original source

3d Ocean

Related Posts

Leave A Comment

You must be logged in to post a comment.