JavaScript create element In this article, we are going to discuss how to create an HTML element via JavaScript. Here, we will…
switch
-
-
Ternary Conditional Operator The ternary conditional operator is used to shorten the code of if statement. It is a special type of…
-
Unary Minus Operator The unary minus operator is a prefixed (-) sign attached with a value. let three = 3 let minusThree…
-
Arithmetic Operators Swift 4 supports the four standard arithmetic operators of all number types: Addition (+) Operator Subtraction (-) Operator Multiplication (*)…
-
Assignment Operator Assignment operator is used to initialize or update the values of both its operands. For example, here (a = b),…
-
Compound Assignment Operators Swift 4 provides compound assignment operators that combine assignment (=) operator with another operator. One example of compound assignment…
-
Range Operators Swift 4 supports several types of range operators which are used as shorthand for expressing a range of values. Closed…
-
Java Switch String Java programming has conditional statements like if-else to represent different conditions in a program. But when the number of…
-
C++ String crbegin() The crbegin() function stands for ‘reverse beginning’. This function references to the last character of the string. Syntax Consider…
-
C++ String crend() The crend() function stands for reverse end. It points to the first character of string and returns constant reverse…