The Anatomy of JavaScriptS2C Home « The Anatomy of JavaScript
In this lesson we look at the anatomy of JavaScript by showing all the parts that make up the JavaScript version of the language.
Following are tables listing all the global objects, constructors, properties, variables and pre-defined functions, as well as statements and operators available in the JavaScript version.
All the current (and safe to use) entries in the tables below are linked to the comprehensive reference section of the site which gives usage for each item and their methods if applicable.
- Avoid using the names in the tables below when creating your own JavaScript variables, functions, methods, or object identifiers.
Alphabetically | Category |
---|---|
Array |
Constructor |
Boolean |
Constructor |
Date |
Constructor |
decodeURI() |
Non-constructor function |
decodeURIComponent() |
Non-constructor function |
encodeURI() |
Non-constructor function |
encodeURIComponent() |
Non-constructor function |
Error |
Error Constructor |
eval() (unsafe) |
Non-constructor function |
Function |
Constructor |
Infinity |
Property |
isFinite() |
Non-constructor function |
isNaN() |
Non-constructor function |
JSON |
Static Object |
Math |
Static Object |
NaN |
Property |
Number |
Constructor |
Object |
Constructor |
parseFloat() |
Non-constructor function |
parseInt() |
Non-constructor function |
RangeError |
Error Constructor |
ReferenceError |
Error Constructor |
RegExp |
Constructor |
String |
Constructor |
TypeError |
Error Constructor |
undefined |
Variable |
URIError |
Error Constructor |
JavaScript Statements | Reserved For Possible Later Usage |
---|---|
arguments |
class |
break |
enum |
case |
export |
catch |
extends |
continue |
implements |
debugger |
import |
default |
interface |
do |
let |
else |
package |
finally |
private |
for |
protected |
function |
public |
if |
static |
label |
super |
return |
yield |
switch |
|
throw |
|
try |
|
var |
|
while |
|
with (avoid) |
Lesson 3 Complete
In this lesson we listed all the predefined global objects, functions and variables, JavaScript statements, as well as all the operators and special operators we can use.
What's Next?
In the next lesson we look at the various ways by which we can insert JavaScript into our web pages.