.
True
False
< ?php include("time.inc"); ? >
< !--include file="time.inc"-- >
< % include file="time.inc" % >
< ?php include_file("time.inc"); ? >
=
==
!=
+
&
.
$
==
=
+
++
Assignment Operators
Arithmetic Operators
String Operators
Comparison Operators
$dan .= "Dan";
$dan += "Dan";
$dan &= "Dan";
$Dan == "Dan";
Input()
Add()
Aquire()
Require()
&&
||
!
£
^
If (condition) code to be executed if condition is true;
If (condition) code to be executed if condition is true; else code to be executed if condition is false;
If (condition) code to be executed if condition is true; elseif (condition) code to be executed if condition is true; else code to be executed if condition is false;
If (condition) code to be executed if condition is true; elseif(condition) code to be executed if condition is false;
Case (n) { switch label1: code to be executed if n=label1; break; switch label2: code to be executed if n=label2; break; default: code to be executed if n is different from both label1 and label2; }
Switch (n) { case label1: code to be executed if n=label1; case label2: code to be executed if n=label2; default: code to be executed if n is different from both label1 and label2; }
Switch (n) { case label1: code to be executed if n=label1; break; case label2: code to be executed if n=label2; break; default: code to be executed if n is different from both label1 and label2; }
Var http = require("http");
Var http = import("http");
Package http;
Import http;
The __filename represents the filename of the code being executed.
The __filename represents the resolved absolute path of code file.
Both of the above.
None of the above.
Console.log('type : ' + os.type);
Console.log('type : ' + os.type());
Console.log('type : ' + os.getType());
None of the above.
Var fs = require("fs");
Var fs = import("fs");
Package fs;
Import fs;
Wait!
Here's an interesting quiz for you.