Publications
JavaScript Performs Automatic Data Type Conversion
JavaScript performs automatic type conversion when used in expressions and statements. For example, if you try to add a string value “Java” with a numeric value 4, then the numeric value 4 is converted to a string “4” and appends it to the string “Java”.
The result of the expression would be “Java 4”.
How type conversion is done?
Whenever an expression is evaluated the expression is parsed into its component unary and binary expressions based upon the order of preference of the operators. Then the component unary and binary expressions are evaluated. The expressions are evaluated according to the operators involved. If an operand takes a value of a type that is different from the type of the operand, then the operand is converted to a type that is valid for the operator.
Strings and Arrays are Viewed as Objects in JavaScript
In JavaScript, strings are stored as objects. Strings can be declared in two ways. The first one is by assigning the value within double quotes and the second one is by using the new keyword.
mystring=“Welcome to JavaScript”;
mystring=new String(“Welcome to JavaScript”);
Both the above declarations are valid and there is absolutely no difference between the two.
Calculating the length of the string
The length of a string can be calculated by using the length () method.
Mikrotik RouterOS Commands
The Basic Set of Commands Mikrotik RouterOS
For those who are just learning to use Mikrotik must still confused with the command (command line) used in Mikrotik RouterOS. Though many basic commands Mikrotik important and must be known so that you can use Mikrotik RouterOS well. Actually, the basic commands MikroTik RouterOS is not much different from the basic commands in Linux in general. Because of this proxy is actually an outgrowth of the Debian Linux kernel.
CSS is the Static Approach Whereas JavaScript is the Programmatic Approach.
A style sheet enables the user to control fonts, color, and layouts. They enable web page designers to use standard HTML elements in a variety of new ways. A single style sheet can be used as a template for many web pages. There are two types of style sheets available namely :
- Cascading Style Sheets (CSS)
- JavaScript Style Sheets
CSS is the static approach to specifying style and JavaScript is the programmatic approach. A CSS style sheet is specified as “text/CSS” and the type of JavaScript Style sheet is “text/JavaScript”. Although both types can be used CSS style sheets is the most widely used since almost all browsers support it.

Positioning of HTML Content
Positioning an HTML block in a web document is known as a layer. A layer can be created in two ways :
- Javascript positioning
- CSS positioning
Javascript creates a layer object for each layer that is defined. Using the layer object you can write Javascript code to move, hide, expand, contract, and change the overlapping sequence of layers. Even new layers and the content of existing layers can be changed dynamically. Dynamic animations and self-modifying pages are also possible.