<JavaScript> Reference

VORBLY CODE - CODE YOUR WEBSITE

JAVASCRIPT REFERENCE

JavaScript (or JS) enables users to create interactive webpages and is an essential code to learn for websites and web applications. Most modern websites use JavaScript.

The JavaScript Reference serves as library to define various JS elements such as arrays, date, json, math, operators and regular expressions (regexp) to help you build your website.

arrow&amp;v

JavaScript Number

JavaScript has only one type of number. Numbers can be written with, or without, decimals.

For Example:

var x = 3.14;
var y = 34;

NAME

DESCRIPTION

CATEGORY

isFinite()

Checks if a value is a finite number

Methods

isInteger()

Checks if a value is an integer

Methods

isNaN()

Checks if a value is Number.NaN

Methods

isSafeInteger()

Checks if a value is a safe integer

Methods

toExponential(x)

Converts a number into an exponential notation

Methods

toFixed(x)

Formats a number with x numbers of digits after the decimal point

Methods

toPrecision(x)

Formats a number to x length

Methods

toString()

Converts a number to a string

Methods

valueOf()

Returns the primitive value of a number

Methods

MAX_VALUE

Returns the largest number possible in JavaScript

Properties

 

LEARN CODING FOR FREE!

WEB DESIGN & DEVELOPMENT TIPS & ADVICE