WHAT IS JAVASCRIPT?
WHAT CAN JAVASCRIPT DO?
WHERE DOES THE CODE RUN?
BENEFITS OF JAVASCRIPT
FUNDAMENTALS OF JAVASCRIPT
SETTING UP DEVELOPMENT ENVIRONMENT
www.edureka.co
www.edureka.co
WHAT IS JAVASCRIPT?
www.edureka.co
JavaScript is a high level, interpreted,
programming language used to make web
pages more interactive. It let’s you
implement complex and beautiful
things/design on web pages.
WHAT IS JAVASCRIPT?
www.edureka.co
JavaScript is a high level, interpreted, programming
language used to make web pages more interactive. It
let’s you implement complex and beautiful
things/design on web pages.
www.edureka.co
WHAT CAN
JAVASCRIPT
DO?
www.edureka.co
www.edureka.co
Web Application Smart Watches Games Website
www.edureka.co
www.edureka.co
www.edureka.co
Easy-
peezy
BENEFITS OF JAVASCRIPT
Easy Fast Platform
Independent
Rich
Framework
Interactive
Websites
www.edureka.co
DEVELOPMENT
ENVIRONMENT
www.edureka.co
VISUAL STUDIO CODE
SUBLIME TEXT
ATOM
DEVELOPMENT
ENVIRONMENT
www.edureka.co
VISUAL STUDIO CODE
SUBLIME TEXT
ATOM
DEVELOPMENT
ENVIRONMENT
www.edureka.co
VISUAL STUDIO CODE
SUBLIME TEXT
ATOM
www.edureka.co
JavaScriptincludesvariableswhichholdthedatavalueanditcanbechangedanytime.Itusesreservedkeywordvarto
declareavariable.Avariablemusthaveauniquename.
VARIABLES
www.edureka.co
Memory location
Variable name
Bydeclaringaconstant,youassignameaningfulnametoavalue.Onceaconstantisdeclared,itcannotbemodifiedor
assignedanewvalue.
CONSTANTS
www.edureka.co
Examples of constants
Datatypesarebasicallytypedofdatathatcanbeusedandmanipulatedinaprogram.InJavaScripttherearetwo
differentkindsofdata:primitives,andobjects.
DATATYPES
www.edureka.co
Strings Boolean
TRUE
FALSE
Numbers NullUndefined
Anobjectisacollectionofproperties,andapropertyisanassociationbetweenaname(orkey)andavalue.Aproperty's
valuecanbeafunction,inwhichcasethepropertyisknownasamethod.
OBJECTS
www.edureka.co
Name
Age
Eye-colour
TheJavaScriptArray objectisaglobalobjectthatisusedintheconstructionofarrays;whicharehigh-level, list-like
objects.
ARRAYS
www.edureka.co
0 1 2 3 4
Afunctionisasubprogramdesignedtoperformaparticulartask.Functionsareexecutedwhentheyarecalled.Values
canbepassedintofunctionsandusedwithinthefunction.
FUNCTIONS
www.edureka.co
Functions
Predefined Functions User Defined Functions
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
www.edureka.co
www.edureka.co

JavaScript Crash Course | Edureka