SlideShare a Scribd company logo
• The Sentences is a programming language is called
Statement.
• The principle, how statement constructed in a
programming language is called language Syntax.
• Placed with in the “<script>” tags.
• Ex : <script>JavaScript statements</script>
• <script> have two important attribute
• language attribute.
• Type attribute.
• <script language=“en”
type=“text/javascript”>JavaScript
statements</script>
• Javascript can be embedded in the Web page
in a following ways :
• Inside head Tag<head></head>
• Inside body Tag<body></body>
• In an External Source File.
• Ex : add external JS file to web page:
• <script language=“en” type=“text/javascript”
src=“external.js”></script>
• JS Variable are containers for storing
data value.
• Data can be placed into container and
referred by variable name.
• Declaration of variable is done by using
key “var” or “let” .
• Variable can be initialized at
declaration or after declaration .
• Local Variable.
• Global Variable
• Variable naming convention can
not be use reserved keywords.
• Case-Sensitive.
• Variable name must be begin with
a “letter” or “_” or “$”.
Basic concept of js
• An operator is explained below:
• 3 + 4 = 7 {where ‘+’ is an operator.
. And ‘3 & 4’ is an operand. }
• Operators are supported :
• Arithmatic
• Assignment
• Shift >> or <<
• Unary !
• Conditonal
• Logical
• Bitwise
• Comparision
• String
• Arithmatic Operator :
• Arithmatic operator is used to arithmatic operation
between two or more values or variable.
Arithmatic operator are :
• ‘+’ operator.
• ‘-’ operator.
• ‘x’ operator.
• ‘/’ operator.
• ‘%’ operator.
• ‘++’ Increment operator.
• ‘- -’ Decrement operator
• Assignment Operator :
• Assignment operator is used to assign values to
JavaScript variable.
Assignment operator are :
• ‘==’ operator.
• ‘+=’ operator.
• ‘-=’ operator.
• ‘*=’ operator.
• ‘%=’ operator.
• ‘/=’ operator.
• Logical Operator :
• Logical operator is used to determine the logic
between JavaScript variable.
Logical operator are :
• ‘&&’ “AND” operator.
• ‘||’ “OR” operator.
• ‘!’ “NoT” operator.
• Comparision Operator :
• comparision operator is used to compare two values
or variables.
Comparision operator are :
• ‘==’ operator.
• ‘===’ operator.
• ‘!=’ operator.
• ‘!==’ operator.
• ‘>=’ operator.
• ‘<=’ operator.
• ‘<’ or ‘>’ operator
• Bitwise Operator :
• Bitwise operator works on 32 bit number.
• Any numeric operand in the operation converted
into 32 bit number.
Bitwise operator are :
• ‘&’ operator.
• ‘|’ operator.
• ‘~’ ‘NOT’ operator.
• ‘^’ ‘XOR’ operator.
• ‘>>’ operator.
• ‘<<’ operator.
• >>> operator
• Unary Operator :
• Unary operator is used to convert
variable to number.
• Bitwise operator are :

More Related Content

PPTX
Java script
PPTX
Using velocity Templates(An overview)
PPTX
Operator overloading (binary)
PPTX
Map reduce part1
PPTX
Actions & Filters In WordPress
PPTX
Web forms in php
PPTX
OData RESTful implementation
ODP
Act as state machine
Java script
Using velocity Templates(An overview)
Operator overloading (binary)
Map reduce part1
Actions & Filters In WordPress
Web forms in php
OData RESTful implementation
Act as state machine

What's hot (18)

PDF
jQuery - Chapter 4 - DOM Handling
PPTX
codeigniter
PPTX
Refactoring Design Patterns the Functional Way (in Scala)
PDF
PDF
jQuery - Chapter 5 - Ajax
PPTX
ListView and Custom ListView on Android Development [Thai]
PDF
Implement react pagination with react hooks and react paginate
PDF
Mobx - performance and sanity
DOCX
PDF
Mobx Performance and Sanity
PPTX
Advanced Javascript
PPT
Angular data binding by Soft Solutions4U
PPTX
Scalar user defined function in sap hana
PPTX
Dexetra Labs - Building Apps that can get featured
PPTX
Chapter 5 transactions and dcl statements
PDF
Lecture 3 - ES6 Script Advanced for React-Native
jQuery - Chapter 4 - DOM Handling
codeigniter
Refactoring Design Patterns the Functional Way (in Scala)
jQuery - Chapter 5 - Ajax
ListView and Custom ListView on Android Development [Thai]
Implement react pagination with react hooks and react paginate
Mobx - performance and sanity
Mobx Performance and Sanity
Advanced Javascript
Angular data binding by Soft Solutions4U
Scalar user defined function in sap hana
Dexetra Labs - Building Apps that can get featured
Chapter 5 transactions and dcl statements
Lecture 3 - ES6 Script Advanced for React-Native
Ad

Similar to Basic concept of js (20)

PPT
Introduction to javascript.ppt
PDF
JavaScript Notes 🔥.pdfssssssssssssssssssssssssssssssssssssssssss
PPTX
JAVASCRIPT - LinkedIn
PDF
any things about myself and that css tble
PPTX
Unit - 4 all script are here Javascript.pptx
PDF
Javascript basics
PDF
Client sidescripting javascript
DOCX
PPT
13665449.ppt
PDF
Ch3- Java Script.pdf
PPTX
copa-ii.pptx
PPTX
Java script.pptx v
PPSX
DIWE - Programming with JavaScript
PPTX
FYBSC IT Web Programming Unit III Javascript
PPTX
Javascript
PPTX
javascriptbasicsPresentationsforDevelopers
PDF
internet Chapter 4-JavascripPrepare a ppt of video compression techniques bas...
PDF
Javascript - Tutorial
PDF
Google maps
PDF
Javascript tutorial basic for starter
Introduction to javascript.ppt
JavaScript Notes 🔥.pdfssssssssssssssssssssssssssssssssssssssssss
JAVASCRIPT - LinkedIn
any things about myself and that css tble
Unit - 4 all script are here Javascript.pptx
Javascript basics
Client sidescripting javascript
13665449.ppt
Ch3- Java Script.pdf
copa-ii.pptx
Java script.pptx v
DIWE - Programming with JavaScript
FYBSC IT Web Programming Unit III Javascript
Javascript
javascriptbasicsPresentationsforDevelopers
internet Chapter 4-JavascripPrepare a ppt of video compression techniques bas...
Javascript - Tutorial
Google maps
Javascript tutorial basic for starter
Ad

Recently uploaded (20)

PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PDF
System and Network Administration Chapter 2
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
L1 - Introduction to python Backend.pptx
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
history of c programming in notes for students .pptx
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
medical staffing services at VALiNTRY
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Introduction to Artificial Intelligence
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Understanding Forklifts - TECH EHS Solution
Why Generative AI is the Future of Content, Code & Creativity?
System and Network Administration Chapter 2
Which alternative to Crystal Reports is best for small or large businesses.pdf
PTS Company Brochure 2025 (1).pdf.......
Internet Downloader Manager (IDM) Crack 6.42 Build 41
L1 - Introduction to python Backend.pptx
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
history of c programming in notes for students .pptx
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Design an Analysis of Algorithms II-SECS-1021-03
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
medical staffing services at VALiNTRY
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Odoo POS Development Services by CandidRoot Solutions
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Introduction to Artificial Intelligence
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Understanding Forklifts - TECH EHS Solution

Basic concept of js

  • 1. • The Sentences is a programming language is called Statement. • The principle, how statement constructed in a programming language is called language Syntax. • Placed with in the “<script>” tags. • Ex : <script>JavaScript statements</script> • <script> have two important attribute • language attribute. • Type attribute. • <script language=“en” type=“text/javascript”>JavaScript statements</script>
  • 2. • Javascript can be embedded in the Web page in a following ways : • Inside head Tag<head></head> • Inside body Tag<body></body> • In an External Source File. • Ex : add external JS file to web page: • <script language=“en” type=“text/javascript” src=“external.js”></script>
  • 3. • JS Variable are containers for storing data value. • Data can be placed into container and referred by variable name. • Declaration of variable is done by using key “var” or “let” . • Variable can be initialized at declaration or after declaration .
  • 4. • Local Variable. • Global Variable • Variable naming convention can not be use reserved keywords. • Case-Sensitive. • Variable name must be begin with a “letter” or “_” or “$”.
  • 6. • An operator is explained below: • 3 + 4 = 7 {where ‘+’ is an operator. . And ‘3 & 4’ is an operand. } • Operators are supported : • Arithmatic • Assignment • Shift >> or << • Unary ! • Conditonal • Logical • Bitwise • Comparision • String
  • 7. • Arithmatic Operator : • Arithmatic operator is used to arithmatic operation between two or more values or variable. Arithmatic operator are : • ‘+’ operator. • ‘-’ operator. • ‘x’ operator. • ‘/’ operator. • ‘%’ operator. • ‘++’ Increment operator. • ‘- -’ Decrement operator
  • 8. • Assignment Operator : • Assignment operator is used to assign values to JavaScript variable. Assignment operator are : • ‘==’ operator. • ‘+=’ operator. • ‘-=’ operator. • ‘*=’ operator. • ‘%=’ operator. • ‘/=’ operator.
  • 9. • Logical Operator : • Logical operator is used to determine the logic between JavaScript variable. Logical operator are : • ‘&&’ “AND” operator. • ‘||’ “OR” operator. • ‘!’ “NoT” operator.
  • 10. • Comparision Operator : • comparision operator is used to compare two values or variables. Comparision operator are : • ‘==’ operator. • ‘===’ operator. • ‘!=’ operator. • ‘!==’ operator. • ‘>=’ operator. • ‘<=’ operator. • ‘<’ or ‘>’ operator
  • 11. • Bitwise Operator : • Bitwise operator works on 32 bit number. • Any numeric operand in the operation converted into 32 bit number. Bitwise operator are : • ‘&’ operator. • ‘|’ operator. • ‘~’ ‘NOT’ operator. • ‘^’ ‘XOR’ operator. • ‘>>’ operator. • ‘<<’ operator. • >>> operator
  • 12. • Unary Operator : • Unary operator is used to convert variable to number. • Bitwise operator are :