JavaScript OBJECT STRUCTURE for Absolute Beginners

preview_player
Показать описание
Whenever you learn a concept, break it down and look at the structure. Let's briefly talk about the structure of JavaScript object. JavaScript Object is a collection of properties. A property consists of a key value pair. Property key can also be called as property name.

To declare a JavaScript object and assign it values, use let, const or var keyword, type object name, use equal sign and open close curly braces. We have declared an object with the name person. And person has got it's properties. fullName and age are person's properties.

- LET Keyword

Object has got let, var or const. let is a JavaScript reserved word. It can be var or const instead of let. There are many reserved words in JavaScript. In most cases const should be used to declare an object. In JavaScript you cannot use reserved words as variables, labels, or function names.

- Object Name

Then we have object name. Person is the name of object in our video.

- Object Properties

Inside object body we have properties. Each property has got key and it's value. In first property of person, fullName is the key. John Doe is it's value. In second property of person, age is the key. 20 is it's value.

When you look at the object like this and know it's structure, it will become easy for you to use it. In coming videos we will go deep into JavaScript Objects.

✅ How To Hide / Protect JavaScript Code - Techniques and Tools
✅ React JS UNDEFINED Solution | Reactjs Learning | Learn ReactJS & JavaScript Debugging Fast
✅ Calculate Sum or Total from Values in Array & Array Object | Learn JavaScript | Reduce Method
✅ Get URL Parameters in JavaScript | URLSearchParams
✅ DIV to PDF, Iframe to PDF using JavaScript Only (with CSS & Images Support)
✅ How To UnMinify JavaScript Minified Files Easily | Decrypt Complex JavaScript Code
✅ Toggle Class in Vanilla JavaScript | Learn JavaScript
✅ How to Execute a JavaScript File by using NPM
✅ Get User's Location (Country, State, City) with Free Unlimited API Access | PHP & JavaScript
✅ Replace jQuery with Vanilla JavaScript Code Easily | jQuery vs JavaScript
✅ Toggle in Vanilla JavaScript
✅ MINIFY JAVASCRIPT FILES & FOLDERS in Multiple Ways (Command Line & Code Editor)
✅ JavaScript vs jQuery | Difference between JavaScript and jQuery
✅ JavaScript Variable Redeclare & Reassign | VAR vs LET vs CONST | Practical Examples

Thank You!
👍 LIKE VIDEO
👊 SUBSCRIBE
🔔 PRESS BELL ICON
✍️ COMMENT

#js #javascript #object #WebStylePress #javascriptobjects #javascripttraining #javascriptengineer #javascriptinterviewquestions #webdevelopment
Рекомендации по теме
welcome to shbcf.ru