do-while, while, for and for-in loops in Javascript
Iterative statements, also called loop statements, specify certain commands to be executed repeatedly until some condition is met. The loops are often used to iterate the values of
Read tutorialTHE TUTORIAL LIBRARY
Iterative statements, also called loop statements, specify certain commands to be executed repeatedly until some condition is met. The loops are often used to iterate the values of
Read tutorialOne of the most frequently used statements in JavaScript (and indeed, in many languages), is the if statement. The if statement has the following syntax:
Read tutorialThe logical AND operator in JavaScript is indicated by the double ampersand (&&):
Read tutorialThe logical NOT operator in JavaScript is the same as in C and Java, indicated by an exclamation point (!). Unlike logical OR and logical AND operators, the logical NOT always retu
Read tutorialThe bitwise NOT is represented by a tilde (~) and is one of just a few ECMAScript operators related to binary mathematics. The bitwise NOT is a three-step process:
Read tutorialIt's also possible to convert values using a process called type casting. Type casting allows you to access a specific value as if it were of a different type. Three type casts are
Read tutorialJavaScript provides two methods for converting non-number primitives into numbers: parseInt() and parseFloat(). As you may have guessed, the former converts a value into an integer
Read tutorialThe interesting thing about JavaScript primitive values for Booleans, numbers, and strings is that they are pseudo-objects, meaning that they actually have properties and methods.
Read tutorialBy rule, keywords are reserved and cannot be used as variable or function names. Here is the complete list of JavaScript keywords.
Read tutorialECMAScript is the standard that set the basics of Javascript syntax. Developers familiar with languages such as Java, C, and Perl will find ECMAScript syntax easy to pick up becaus
Read tutorialAround 1992, a company called Nombas began developing an embedded scripting language called C-minus-minus (Cmm for short). The idea behind Cmm was simple: a scripting language powe
Read tutorialJDBC stands for Java Database Connectivity allows developers to connect, query and update a database using the Structured Query Language. JDBC API standard provides Java developers
Read tutorialOne example today. A better developer tomorrow.