MCQs Test!! VB Basic Test !! Essentials of VB !! Creating User Services !! function !! Anatomy !! GK March-2019 !! DATA TYPES IN JAVA !! Classes ,Constructor ,Methods,Inheritance !! Ecology-I !! Biology 2019 !! Gk april 2019 !! Biology (living world) !! Plant anatomy !! CELL STRUCTURES AND FUNCTION !! General biology !! Human physiology !! Data structure !! Ecology-II !! GK TEST !! Reproduction in plants !! Human reproduction !! The ABC of C !! Operating system set1 !! Operating system set2 !! Gk and current affairs !! Animal kingdom !! Number system !! Animal kingdom-II !! Gk TEST-III !! Number series !! Microorganisms !! Interview question in c !! Time and Work !! Percentage !! General history !! Average !! Cells !! Locomotion and Movement !! paging !! Bacteriology !! Page replacement policy !! Secondary memory and Disk scheduling !! Introduction of Nervous System and neurons !! Plant harmones !! Transport and Mineral Nutrition in Plants !! Neurotransmitters !! Modern Indian History !! Photosynthesis in Plants !! Modern Indian History-II !! Plant respiration !! Environment & Biodiversity !! Environment & Biodiversity - II !! Algae, Bryophytes, Pteridophytes !! Area !! Cricket !! Days of the Year (India and the World) !! Plant Pathology - I !! Indian Transport System !! Plant Pathology - II !! Aptitude !! Biology !! Botany !! C language !! Computer Science !! Core Java !! Gate !! GK !! Mysql !! Operating system !! Physics !! VB-Visual Basic !! Zoology

JavaScript Tutorial

JavaScript Basics
Previous Home Next

JavaScript is a client-side language, which means all the action occurs on the client's (reader's) side of things. that's are integrated into the browsing environment

and it is also a simple scripting language that's used in web browsers to make websites more dynamic.,

Features of JavaScript

There are following Feature of javascript as given below:

Dynamic typing: Like other scripting languages it supports dynamic typing.

Object Oriented Programming: JavaScript supports Object Oriented Programming.

Functions: Functions are first-class, they are objects themselves.

Regular expressions: JavaScript also supports regular expression.


Prototypes: prototypes is used in javascript.

Imperative and Structured: Most of the syntax of JavaScript is like 'C'.

Advantage of JavaScript

There are following Advantage of javascript as given below:

  • it support regular expressions
  • associative arrays
  • it is loosely typed variables
  • objects and classes
  • JavaScript is the ability to run almost anything in the web browser
  • involved date, math, and string libraries
  • world wide web, document object model(DOM)support in the JavaScript
Disadvantages of JavaScript

There are following Disadvantage of javascript are:

  • In case of commercial application There is no way to hide the JavaScript code
  • Developer depends on the browser support for the JavaScript.
  • A web application that depends on too much JavaScript can make it difficult for SEO.


Difference between javascript and Java

JavaScript Java
JavaScript is used for front-end web development Java is used as a back-end language within a web environment.
Object-oriented. No distinction between types of objects. Inheritance is through the prototype mechanism, and properties and methods can be added to any object dynamically. Class-based. Objects are divided into classes and instances with all inheritance through the class hierarchy. Classes and instances cannot have properties or methods added dynamically.
Interpreted by client (not compiled). Compiled bytecodes downloaded from server, executed on client.
Variable data types not declared (loose typing). Variable data types must be declared as Java maintains strong type checking.
Cannot automatically write to hard disk. Same it is
Previous Home Next