SlideShare a Scribd company logo
1 of 20
JavaScript | LazyBrain
Web Development
Velimir Bulatovic
JavaScript | Introduction
JavaScript (JS) is a full-fledged dynamic programming language that, when
applied to an HTML document, can provide dynamic interactivity on websites.
It was invented by Brendan Eich, co-founder of the Mozilla project, the Mozilla
Foundation, and the Mozilla Corporation.
JavaScript was first known as LiveScript.
JavaScript | Introduction
JavaScript is a scripting or programming language that allows you to
implement complex things on web pages
ECMAScript is the official name of the language.
JavaScript and Java are completely different languages,
both in concept and design.
Advantages of JavaScript
● Less server interaction − You can validate user input before sending the
page off to the server. This saves server traffic, which means less load on
your server.
● Immediate feedback to the visitors − They don't have to wait for a page
reload to see if they have forgotten to enter something.
● Increased interactivity − You can create interfaces that react when the
user hovers over them with a mouse or activates them via the keyboard.
● Richer interfaces − You can use JavaScript to include such items as drag-
and-drop components and sliders to give a Rich Interface to your site
visitors.
Limitations of JavaScript
● Client-side JavaScript does not allow the reading or writing of files. This
has been kept for security reason.
● JavaScript cannot be used for networking applications because there is
no such support available.
● JavaScript doesn't have any multithreading or multiprocessor
capabilities.
Syntax | JavaScript
● JavaScript ignores whitespace and line breaks
● Semicolons are optional
● JavaScript is a case-sensitive language
● JavaScript supports both C-style and C++ style comments
Browsers | JavaScript
● How to enable JavaScript
● Non-JavaScript Browsers
Variables | JavaScript
● Primitive data types
○ Number
○ String
○ Boolean
*All numbers in JavaScript are represented as floating-point values.
JavaScript represents numbers using the 64-bit floating-point format defined by the IEEE 754 standard.
Variables | JavaScript
● Declare
● Assign the value
● Scope
○ Global
○ Local
● JavaScript reserved words
Operators | JavaScript
● Arithmetic ( +, -, *, /, %, ++, -- )
● Comparison (==, !=, >, <, >=, <= )
● Logical (or Relational) ( &&, || )
● Assignment operators ( =, +=, -=, *=, /=, %= )
● Conditional (or ternary) ( ? : (Conditional ) )
Control Flow | JavaScript
● If .. else
● Switch Case
● While loop
● For loop
● Loop Control
Functions | JavaScript
A function is a group of reusable code which can be called anywhere in your
program.
● Definition
● Parameters
● Return statement
Events | JavaScript
● onclick
● onsubmit
● onmouseover ( onmouseout )
● onload
● offline
● onresize
● onscroll
● onplay
● onpause, onfocus, onerror, ondrop ...
Objects | JavaScript
● Encapsulation − the capability to store related information, whether data or
methods, together in an object.
● Aggregation − the capability to store one object inside another object.
● Inheritance − the capability of a class to rely upon another class (or
number of classes) for some of its properties and methods.
● Polymorphism − the capability to write one function or method that works
in a variety of different ways.
Array | JavaScript
● var fruits = new Array( "apple", "orange", "mango" );
● array.join()
● array.push()
● array.sort()
● ..
Error Handling | JavaScript
● Syntax Errors
● Runtime Errors
● Logical Errors
● try .. catch ..finaly statement
● throw statement
● onerror method
Form Validation | JavaScript
● Basic Validation
● Data Format Validation
Introduction | JSON
● JSON: JavaScript Object Notation
● JSON is a syntax for storing and exchanging data
● JSON is text, written with JavaScript object notation
● { name : "John" }
● { "name" : "John" }
Object vs Array | JSON
{
"employee":{ "name":"John", "age":30, "city":"New York" }
}
{
"employees":[ "John", "Anna", "Peter" ]
}
Thank you
Velimir Bulatovic
LazyBrain | Digital Intelligence

More Related Content

What's hot (18)

Learn JavaScript From Scratch
Learn JavaScript From ScratchLearn JavaScript From Scratch
Learn JavaScript From Scratch
 
Js slideshare
Js   slideshareJs   slideshare
Js slideshare
 
Introduction to rails
Introduction to railsIntroduction to rails
Introduction to rails
 
Mustache
MustacheMustache
Mustache
 
Scala.js
Scala.js Scala.js
Scala.js
 
Automate - Madhu Kanoor, Greg McCullough - ManageIQ Design Summit 2016
Automate - Madhu Kanoor, Greg McCullough - ManageIQ Design Summit 2016Automate - Madhu Kanoor, Greg McCullough - ManageIQ Design Summit 2016
Automate - Madhu Kanoor, Greg McCullough - ManageIQ Design Summit 2016
 
F# type providers
F# type providersF# type providers
F# type providers
 
Learn To Code: Introduction to c
Learn To Code: Introduction to cLearn To Code: Introduction to c
Learn To Code: Introduction to c
 
JavaScript - Chapter 3 - Introduction
 JavaScript - Chapter 3 - Introduction JavaScript - Chapter 3 - Introduction
JavaScript - Chapter 3 - Introduction
 
Introduction to Javascript By Satyen
Introduction to Javascript By  SatyenIntroduction to Javascript By  Satyen
Introduction to Javascript By Satyen
 
Ajax
AjaxAjax
Ajax
 
Learn TypeScript from scratch
Learn TypeScript from scratchLearn TypeScript from scratch
Learn TypeScript from scratch
 
Introduction to Reactjs
Introduction to ReactjsIntroduction to Reactjs
Introduction to Reactjs
 
Javascript
JavascriptJavascript
Javascript
 
Intro to ember.js
Intro to ember.jsIntro to ember.js
Intro to ember.js
 
U2A2
U2A2U2A2
U2A2
 
Angular - Chapter 2 - TypeScript Programming
Angular - Chapter 2 - TypeScript Programming  Angular - Chapter 2 - TypeScript Programming
Angular - Chapter 2 - TypeScript Programming
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
 

Similar to JavaScript | Introduction

WT Module-3.pptx
WT Module-3.pptxWT Module-3.pptx
WT Module-3.pptxRamyaH11
 
Front-End Developer's Career Roadmap
Front-End Developer's Career RoadmapFront-End Developer's Career Roadmap
Front-End Developer's Career RoadmapWebStackAcademy
 
Iwt note(module 2)
Iwt note(module 2)Iwt note(module 2)
Iwt note(module 2)SANTOSH RATH
 
GWT - Building Rich Internet Applications Using OO Tools
GWT - Building Rich Internet Applications Using OO ToolsGWT - Building Rich Internet Applications Using OO Tools
GWT - Building Rich Internet Applications Using OO Toolsbarciszewski
 
WEB MODULE 3.pdf
WEB MODULE 3.pdfWEB MODULE 3.pdf
WEB MODULE 3.pdfDeepika A B
 
JavaScript New Tutorial Class XI and XII.pptx
JavaScript New Tutorial Class XI and XII.pptxJavaScript New Tutorial Class XI and XII.pptx
JavaScript New Tutorial Class XI and XII.pptxrish15r890
 
Dotnet content
Dotnet contentDotnet content
Dotnet contentmaheshcs1
 
Node.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scaleNode.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scaleDmytro Semenov
 
HelsinkiJS - Clojurescript for Javascript Developers
HelsinkiJS - Clojurescript for Javascript DevelopersHelsinkiJS - Clojurescript for Javascript Developers
HelsinkiJS - Clojurescript for Javascript DevelopersJuho Teperi
 
Final Java-script.pptx
Final Java-script.pptxFinal Java-script.pptx
Final Java-script.pptxAlkanthiSomesh
 
An Intro to Scala for PHP Developers
An Intro to Scala for PHP DevelopersAn Intro to Scala for PHP Developers
An Intro to Scala for PHP DevelopersHuffPost Code
 
JavascriptMVC: Another choice of web framework
JavascriptMVC: Another choice of web frameworkJavascriptMVC: Another choice of web framework
JavascriptMVC: Another choice of web frameworkAlive Kuo
 
JavaScript Getting Started
JavaScript Getting StartedJavaScript Getting Started
JavaScript Getting StartedHazem Hagrass
 

Similar to JavaScript | Introduction (20)

WT Module-3.pptx
WT Module-3.pptxWT Module-3.pptx
WT Module-3.pptx
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
 
Front-End Developer's Career Roadmap
Front-End Developer's Career RoadmapFront-End Developer's Career Roadmap
Front-End Developer's Career Roadmap
 
Java script
Java scriptJava script
Java script
 
Iwt note(module 2)
Iwt note(module 2)Iwt note(module 2)
Iwt note(module 2)
 
GWT - Building Rich Internet Applications Using OO Tools
GWT - Building Rich Internet Applications Using OO ToolsGWT - Building Rich Internet Applications Using OO Tools
GWT - Building Rich Internet Applications Using OO Tools
 
WEB MODULE 3.pdf
WEB MODULE 3.pdfWEB MODULE 3.pdf
WEB MODULE 3.pdf
 
JavaScript New Tutorial Class XI and XII.pptx
JavaScript New Tutorial Class XI and XII.pptxJavaScript New Tutorial Class XI and XII.pptx
JavaScript New Tutorial Class XI and XII.pptx
 
WTA-MODULE-4.pptx
WTA-MODULE-4.pptxWTA-MODULE-4.pptx
WTA-MODULE-4.pptx
 
Basic of Java
Basic of JavaBasic of Java
Basic of Java
 
JavaScripts & jQuery
JavaScripts & jQueryJavaScripts & jQuery
JavaScripts & jQuery
 
Dotnet content
Dotnet contentDotnet content
Dotnet content
 
Node.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scaleNode.js Web Apps @ ebay scale
Node.js Web Apps @ ebay scale
 
HelsinkiJS - Clojurescript for Javascript Developers
HelsinkiJS - Clojurescript for Javascript DevelopersHelsinkiJS - Clojurescript for Javascript Developers
HelsinkiJS - Clojurescript for Javascript Developers
 
Final Java-script.pptx
Final Java-script.pptxFinal Java-script.pptx
Final Java-script.pptx
 
An Intro to Scala for PHP Developers
An Intro to Scala for PHP DevelopersAn Intro to Scala for PHP Developers
An Intro to Scala for PHP Developers
 
JavascriptMVC: Another choice of web framework
JavascriptMVC: Another choice of web frameworkJavascriptMVC: Another choice of web framework
JavascriptMVC: Another choice of web framework
 
JavaScript Getting Started
JavaScript Getting StartedJavaScript Getting Started
JavaScript Getting Started
 
Grails 101
Grails 101Grails 101
Grails 101
 
Java script
Java scriptJava script
Java script
 

Recently uploaded

Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxMarkSteadman7
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformWSO2
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightSafe Software
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringWSO2
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaWSO2
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceIES VE
 

Recently uploaded (20)

Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 

JavaScript | Introduction

  • 1. JavaScript | LazyBrain Web Development Velimir Bulatovic
  • 2. JavaScript | Introduction JavaScript (JS) is a full-fledged dynamic programming language that, when applied to an HTML document, can provide dynamic interactivity on websites. It was invented by Brendan Eich, co-founder of the Mozilla project, the Mozilla Foundation, and the Mozilla Corporation. JavaScript was first known as LiveScript.
  • 3. JavaScript | Introduction JavaScript is a scripting or programming language that allows you to implement complex things on web pages ECMAScript is the official name of the language. JavaScript and Java are completely different languages, both in concept and design.
  • 4. Advantages of JavaScript ● Less server interaction − You can validate user input before sending the page off to the server. This saves server traffic, which means less load on your server. ● Immediate feedback to the visitors − They don't have to wait for a page reload to see if they have forgotten to enter something. ● Increased interactivity − You can create interfaces that react when the user hovers over them with a mouse or activates them via the keyboard. ● Richer interfaces − You can use JavaScript to include such items as drag- and-drop components and sliders to give a Rich Interface to your site visitors.
  • 5. Limitations of JavaScript ● Client-side JavaScript does not allow the reading or writing of files. This has been kept for security reason. ● JavaScript cannot be used for networking applications because there is no such support available. ● JavaScript doesn't have any multithreading or multiprocessor capabilities.
  • 6. Syntax | JavaScript ● JavaScript ignores whitespace and line breaks ● Semicolons are optional ● JavaScript is a case-sensitive language ● JavaScript supports both C-style and C++ style comments
  • 7. Browsers | JavaScript ● How to enable JavaScript ● Non-JavaScript Browsers
  • 8. Variables | JavaScript ● Primitive data types ○ Number ○ String ○ Boolean *All numbers in JavaScript are represented as floating-point values. JavaScript represents numbers using the 64-bit floating-point format defined by the IEEE 754 standard.
  • 9. Variables | JavaScript ● Declare ● Assign the value ● Scope ○ Global ○ Local ● JavaScript reserved words
  • 10. Operators | JavaScript ● Arithmetic ( +, -, *, /, %, ++, -- ) ● Comparison (==, !=, >, <, >=, <= ) ● Logical (or Relational) ( &&, || ) ● Assignment operators ( =, +=, -=, *=, /=, %= ) ● Conditional (or ternary) ( ? : (Conditional ) )
  • 11. Control Flow | JavaScript ● If .. else ● Switch Case ● While loop ● For loop ● Loop Control
  • 12. Functions | JavaScript A function is a group of reusable code which can be called anywhere in your program. ● Definition ● Parameters ● Return statement
  • 13. Events | JavaScript ● onclick ● onsubmit ● onmouseover ( onmouseout ) ● onload ● offline ● onresize ● onscroll ● onplay ● onpause, onfocus, onerror, ondrop ...
  • 14. Objects | JavaScript ● Encapsulation − the capability to store related information, whether data or methods, together in an object. ● Aggregation − the capability to store one object inside another object. ● Inheritance − the capability of a class to rely upon another class (or number of classes) for some of its properties and methods. ● Polymorphism − the capability to write one function or method that works in a variety of different ways.
  • 15. Array | JavaScript ● var fruits = new Array( "apple", "orange", "mango" ); ● array.join() ● array.push() ● array.sort() ● ..
  • 16. Error Handling | JavaScript ● Syntax Errors ● Runtime Errors ● Logical Errors ● try .. catch ..finaly statement ● throw statement ● onerror method
  • 17. Form Validation | JavaScript ● Basic Validation ● Data Format Validation
  • 18. Introduction | JSON ● JSON: JavaScript Object Notation ● JSON is a syntax for storing and exchanging data ● JSON is text, written with JavaScript object notation ● { name : "John" } ● { "name" : "John" }
  • 19. Object vs Array | JSON { "employee":{ "name":"John", "age":30, "city":"New York" } } { "employees":[ "John", "Anna", "Peter" ] }
  • 20. Thank you Velimir Bulatovic LazyBrain | Digital Intelligence

Editor's Notes

  1. Example 1
  2. Example 4
  3. Example 6 - 12
  4. Example 11 -15
  5. Example 15 - 16
  6. Example 1, 2, 3
  7. Example 1, 2, 3
  8. Example 1, 2, 3
  9. Example 1, 2
  10. Example 1, 2
  11. Example 1, 2