JavaScript Flashcards
It is a lightweight, interpreted programming language designed for creating network-centric applications.
JavaScript
JavaScript is complimentary to and integrated with what programming language?
Java
JavaScript is very easy to implement because it is integrated with ______?
HTML
The most popular programming language in the world and that makes it a programmer’s great choice.
JavaScript
This is really important to verify any user input before submitting it to the server and JavaScript plays an important role in validating those inputs at front-end itself.
Client Side Validation
JavaScript helps in manipulating HTML page on the fly. This helps in adding and deleting any HTML tag very easily using JavaScript and modify your HTML to change its look and feel based on different devices and requirements.
Manipulating HTML pages
You can use JavaScript to raise pop-ups on the webpages to give different types of notifications to your website visitors.
User Notifications
JavaScript provides Ajax library which helps in loading back-end data while you are doing some other processing.
Back-end Data Loading
JavaScript also provides the facility of creating presentations which gives website look and feel.
Presentations
Node JS is built on Chrome’s JavaScript runtime or building fast and scalable network applications. This is an event based library which helps in developing very sophisticated server applications web servers.
Server Applications
It is an Object Oriented Programming (OOP) language.
JavaScript
A programming language can be called object-oriented if it provides _____ to developers?
Four basic capabilities
What are the four basic capabilities?
Encapsulation
Aggregation
Inheritance
Polymorphism
The capability to store related information, whether data or methods, together in an object.
Encapsulation
The capability to store one object inside another object.
Aggregation
The capability of a class to rely upon another class (or number of classes) for some of its properties and methods.
Inheritance
The capability to write one function or method that works in a variety of different ways.
Polymorphism
It can be any of the primitive data types, or any of the abstract data types, such as another object.
Object Properties
What is the syntax for adding a property to an object?
objectName.objectProperty = propertyvalue;
Can be placed anywhere within your webpage, but it is normally recommended that you should keep it within the <head> tags.
<script> tag </script>
Alerts the browser program to start interpreting all the text between these tags as a script.
<script> tag </script>
The script tag takes two important attributes, what are these?
Language & Type