. . .

Month: September 2018

Introduction to the Angular JS 3

Why AngularJS? HTML is great for declaring static documents, but it falters when we try to use it for declaring dynamic views in web-applications. AngularJS lets you extend HTML vocabulary for your application. The resulting environment is extraordinarily expressive, readable, and quick to develop. AngularJS is a JavaScript framework. It is a library written in […]

What is java script bit wise operators?

Bit-wise operators treat their operands as a sequence of 32 bits (zeroes and ones), rather than as decimal, hexadecimal, or octal numbers. For example, the decimal number nine has a binary representation of 1001. Bitwise operators perform their operations on such binary representations, but they return standard JavaScript numerical values. JavaScript bit-wise expressions: console.log(5 & […]

What is JavaScript logical operator?

Logical operators are typically used with (logical) values. When they are, they return a Boolean value. However, && (logical and),  II (logical or), I (logical not) operators actually return the value of one of the specified operands, so if these operators are used with non-Boolean values, they may return a non-Boolean value. examples: var a = 3; var […]

What is do-while loop in javascript?

The do while statement in java script creates a loop that executes a specified statement until the test condition evaluates to false. The condition is evaluated after executing the statement, resulting in the specified statement executing at least once. Examples: var result = “”; var i = 0; do { i = i + 1; result […]

what is operator?

1)operator are 3 types A)Unary, example:like(a++); B)Binary, example:like(a+b); Here (A B) are operend (+) are operators c)Tinary, example:like(a?”Hello””world”);(This are conditional operator) 2)Example are operators many types like: a)Assignment operator; example: =,+=,-=,/=,%= etc. b)Arithmatic operator; example: +,-,*,/,%,++,– etc. c)Comparison operator; example: ==,===,!=,!== etc.