abs()
|
Returns the absolute value of x.
|
Math
|
accessKey
|
Returns or sets the access key attribute of an element.
|
Element
|
acos()
|
The arccosine of x is returned in radians.
|
Math
|
acosh()
|
The hyperbola of x gives the arccosine value.
|
Math
|
activeElement
|
Returns the element of the document that currently has focus.
|
Document
|
addEventListener()
|
Attaches a document event handler.
|
Document, Element
|
adoptNode()
|
A node is adopted from another text.
|
Document
|
alert()
|
Displays a message in an alert box with an OK button.
|
Window
|
altKey
|
Returns whether the "ALT" key was pressed at the time of the mouse event.
|
MouseEvent, KeyboardEvent, TouchEvent
|
anchors
|
Returns a collection of each a> element with the name attribute in the document.
|
Document
|
animationName
|
Returns the name of the animation.
|
AnimationEvent
|
appCodeName
|
Returns the code name of the browser.
|
Navigator
|
appendChild()
|
Adds a new child node to the element as the last child node.
|
Element
|
applets
|
Returns a list of all "applet" components in the document.
|
Document
|
appName
|
Returns the name of the browser.
|
Navigator
|
appVersion
|
Provides information about the version of the browser.
|
Navigator
|
asin()
|
Returns the arcsine of x expressed in radians.
|
Math
|
asinh()
|
Returns the arcsine of the hyperbola of x.
|
Math
|
assert()
|
If the assertion is false, writes an error message to the console.
|
Console
|
assign()
|
Creates a new document.
|
Location
|
atan()
|
Returns the angle between -PI/2 and PI/2 radians that is the arctangent of the given x.
|
Math
|
atan2()
|
Returns the quotient of the tangent of its arguments.
|
Math
|
atanh()
|
gives the hyperbolic arctangent of x.
|
Math
|
atob()
|
The base-64 encoded string is decoded.
|
Window
|
attributes
|
A NamedNodeMap containing the element's attributes is returned.
|
Element
|
availHeight
|
Returns the height of the screen (without the Windows taskbar).
|
Screen
|
availWidth
|
Returns the width of the screen (without the Windows taskbar).
|
Screen
|
back()
|
Loads a history list for previous URLs.
|
History
|
baseURI
|
Returns the absolute base URI of a document.
|
Document
|
blur()
|
Focuses less on a certain element.
|
Element, Window
|
body
|
Returns or sets the element (body of the document).
|
Document
|
break
|
Exit the loop or switch.
|
Statements
|
btoa()
|
Base-64 encoding of a string.
|
Window
|
bubbles
|
Returns a value indicating whether the given event is a bubbling event.
|
Event
|
button
|
Returns the mouse button that was pushed when the mouse event occurred.
|
MouseEvent
|
buttons
|
Provides a list of mouse buttons that were pushed at the time of the mouse event.
|
MouseEvent
|
cancelable
|
Returns whether the default action of an event can be prevented.
|
Event
|
cbrt()
|
Returns the cube root of x.
|
Math
|
ceil()
|
Returns x, rounded up to the highest integer.
|
Math
|
changeTouches
|
Returns a list of all touch objects whose states have changed between this touch and the previous one.
|
TouchEvent
|
characterSet
|
Returns the character encoding of the document.
|
Document
|
charAt()
|
Returns the character located at the given index.
|
String
|
charCode
|
Provides the Unicode character code of the key that was used to initiate the onkeypress event.
|
KeyboardEvent
|
charCodeAt()
|
Returns the Unicode code of the character at the requested index.
|
String
|
charset
|
Excluded. Instead, use CharacterSet. Returns the character encoding of the document.
|
Document
|
childElementCount
|
The number of children of an element is returned.
|
Element
|
childNodes
|
Returns a set of child nodes (including text and comment nodes) for an element.
|
Element
|
children
|
Returns a set of child elements for an element (not including text or comment nodes).
|
Element
|
classList
|
Returns the class name or class of the element.
|
Element
|
class
|
Sets up the class.
|
Statements
|
className
|
Returns or sets the value of the class attribute of an element.
|
Element
|
clear()
|
to clear console.
|
Console, Storage
|
clearInterval()
|
Resets a timer that was set up with setInterval().
|
Window
|
clearTimeout()
|
Removes a timer that has been set up with setTimeout().
|
Window
|
clearWatch()
|
Unregister previously installed Geolocated Location/Error Monitoring handlers.watchPosition().
|
Geolocation
|
click()
|
Simulates a mouse button click on an object.
|
Element
|
clientHeight
|
Returns the height of the element with padding.
|
Element
|
clientLeft
|
Returns the size of the left border of the element.
|
Element
|
clientTop
|
Returns the code of the key that set the event.
|
Element
|
clientWidth
|
Returns the bit depth of the color palette used to display the image.
|
Element
|
clientX
|
returns the position of the mouse pointer's horizontal axis with relation to the open window at the time the mouse event occurred.
|
MouseEvent, TouchEvent
|
clientY
|
returns the position of the mouse pointer vertically with relation to the open window at the time the mouse event was initiated.
|
MouseEvent, TouchEvent
|
clipboardData
|
a response that contains an object with the data impacted by the clipboard action.
|
ClipboardData
|
closed
|
Whether a window has been closed or not is indicated by a Boolean value that is returned.
|
Window
|
close()
|
closes the output stream that document has previously opened.open().
|
Document, Window
|
closest()
|
Looks through the DOM tree for the element that most closely matches a given CSS selector.
|
Element
|
clz32(x)
|
provides a 32-bit binary representation of x's leading zeros.
|
Math
|
code
|
returns the key's code, which was the one that set off the event.
|
KeyboardEvent
|
colorDepth
|
returns the color palette's bit depth, which is used to show pictures.
|
Screen
|
compareDocumentPosition()
|
Compares the document position of two objects.
|
Element
|
compile()
|
In version 1.5, it was deprecated. Brings together a regular statement.
|
RegExp
|
composed
|
Determines whether the event has been created.
|
Event
|
concat()
|
After joining two or more arrays, returns a copy of the joined arrays.
|
Array, String
|
confirm()
|
Creates a dialog box that includes a message, an OK button, and a Cancel button.
|
Window
|
const
|
Sets a variable with a fixed value.
|
Statements
|
constructor()
|
Creates and sets the initial state of objects generated inside the class.
|
Classes
|
constructor
|
Returns the process used to construct the prototype of the Array object.
|
Array, Boolean, Date, Number, RegExp
|
contains()
|
Returns true if a node is a descendant of another node; Otherwise, it returns false.
|
Element
|
contentEditable
|
Determines or returns whether the content of an element is editable.
|
Element
|
continue
|
If a certain condition is met, breaking one iteration continues the loop until the next iteration.
|
Statements
|
console
|
Provides methods for logging information to the browser's console (see Console object), which is returned as a context.
|
Window
|
cookie
|
Returns each name/value pair present in the document's cookies.
|
Document
|
cookieEnabled
|
Checks to see if cookies are enabled in the browser.
|
Navigator
|
coordinates
|
Returns the device's location and altitude on Earth.
|
Geolocation
|
copyWithin()
|
Copies the array items to the specified locations inside the array.
|
Array
|
cos(x)
|
Returns the cosine of x (where x is a radian value).
|
Math
|
cosh(x)
|
Provides the hyperbolic cosine of x.
|
Math
|
count()
|
Records how many times this specific call to count() has been made.
|
Console
|
createAttribute()
|
Creates a node for a feature.
|
Document
|
createComment()
|
A comment node is created with the provided text.
|
Document
|
createDocumentFragment()
|
Creates a new DocumentFragment node that is empty.
|
Document
|
createElement()
|
Creates Element node.
|
Document
|
createEvent()
|
Creates a fresh event.
|
Document, Event
|
createTextNode()
|
Installs a text node.
|
Document
|
ctrlKey
|
Returns whether the "CTRL" key was pressed at the time of the mouse event.
|
MouseEvent, KeyboardEvent, TouchEvent
|
currentTarget
|
Returns the element whose event listeners caused the event to occur.
|
Event
|
data
|
Returns the characters you entered.
|
InputEvent
|
dataTransfer
|
Returns an object containing the data that is being omitted, added, or removed.
|
DragEvent, InputEvent
|
debugger
|
Stops JavaScript from running and runs the debugging function (if it's there).
|
Statements
|
decodeURI()
|
Unpacks a URI.
|
Global
|
decodeURIComponent()
|
A URI component is decoded.
|
Global
|
defaultPrevented
|
Returns if the event's preventDefault() function was used.
|
Event
|
defaultStatus
|
Returns or sets the default text of the window's statusbar.
|
Window
|
defaultView
|
Returns either null (if none is available) or a window object corresponding to the given document.
|
Document
|
delete
|
Makes a property of an object disappear.
|
Operators
|
deltaX
|
Returns the horizontal scrolling distance of the mouse wheel along the x-axis.
|
WheelEvent
|
deltaY
|
Provides the vertical scroll amount (y-axis) of the mouse wheel.
|
WheelEvent
|
deltaZ
|
Returns the z-axis scroll amount of the mouse wheel.
|
WheelEvent
|
deltaMode
|
Returns a value indicating the measurement type for the delta values (pixels, lines, or pages).
|
WheelEvent
|
designMode
|
Ability to decide whether the entire document should be editable or not.
|
Document
|
detail
|
Returns a number representing the amount of mouse clicks.
|
UiEvent
|
do ... while
|
Repeats a set of statements after each execution as long as a condition is true.
|
Statements
|
doctype
|
Returns the document type declaration associated with the document.
|
Document
|
document
|
Returns the Document object of the window (see Document object).
|
Window
|
documentElement
|
Returns the document element of the document, which is an html> element.
|
Document
|
documentMode
|
Returns the rendering mode used by the browser to display the content.
|
Document
|
documentURI
|
Returns or sets the location of the document.
|
Document
|
domain
|
Returns the domain name of the server that was used to load the page.
|
Document
|
domConfig
|
obsolete. Returns the DOM settings of the document.
|
Document
|
elapsedTime
|
Provides the duration of the animation in seconds.
|
AnimationEvent
|
elapsedTime
|
Provides the duration of a transition in seconds.
|
|
embeds
|
Returns a collection of all "embed" components of the document.
|
Document
|
encodeURI()
|
URI is encoded.
|
Global
|
encodeURIComponent()
|
A URI component is encoded.
|
Global
|
endsWith()
|
Determines whether a string contains the provided string or characters at the end.
|
String
|
entries()
|
A key/value pair ArrayIteration object is returned.
|
Array
|
error()
|
Sends an error message to the console.
|
Console
|
escape()
|
In version 1.5, it was deprecated. Instead, use encodeURI() or encodeURIComponent() .
|
Global
|
eval()
|
Runs a string after evaluating it as if it were script code.
|
Global
|
eventPhase
|
Returns the event flow step that is currently being evaluated.
|
Event
|
every()
|
Determines whether each element of an array passes a test.
|
Array
|
exec()
|
Looks for a match within a string. Returns the first match.
|
RegExp
|
execCommand()
|
The element with focus will receive the given clipboard action.
|
Document
|
exitFullscreen()
|
Removes a full-screen element.
|
Element
|
exp(x)
|
Returns the value of Ex.
|
Math
|
expm1(x)
|
Returns the value of Ex one less.
|
Math
|
export
|
Functions must be exported so that they can be imported into other modules and other scripts.
|
|
extends
|
extends (inherits) a class.
|
Classes
|
dir
|
Returns or sets the value of the element's DIR property.
|
Element
|
fill()
|
There must be a constant value assigned to the elements of an array.
|
Array
|
filter()
|
Each element in an array that passes a test is created in a new array.
|
Array
|
find()
|
The value of the first member in an array is returned to pass a test.
|
Array
|
findIndex()
|
The first member in an array that passes a test is returned by its index.
|
Array
|
floor()
|
Returns x, rounded to the lowest integer value.
|
Math
|
focus()
|
Emphasizes an element.
|
Element, Window
|
for
|
Marks a set of instructions to be executed if a given condition is true.
|
Statements
|
for ... in
|
Marks a set of instructions that will be performed once for each element of an object (or array).
|
Statements
|
forEach()
|
Uses a function call for each element of the array.
|
Array
|
forms
|
Returns a list of all "form" components of the document.
|
Document
|
forward()
|
The following URL is loaded in the history list.
|
History
|
frameElement
|
Returns the "iframe" element that contains the current window.
|
Window
|
frames
|
Returns every iframe> component found in the current window.
|
Window
|
from()
|
Uses an object to create an array.
|
Array
|
fromCharCode()
|
The characters are generated from Unicode values.
|
String
|
fround()
|
Provides the nearest (32-bit single precision) float representation of a number.
|
Math
|
fullscreenElement
|
Returns the element that is currently visible in fullscreen mode.
|
Document
|
fullscreenEnabled()
|
Returns a Boolean answer indicating whether it is possible to view the page full-screen.
|
Document
|
function
|
introduces a function.
|
Statements
|
geolocation
|
A Geolocation object that can be used to find the user's location is returned.
|
Navigator
|
getDate()
|
Returns the day of the month (in the range 1-31).
|
Date
|
getDay()
|
Returns the day of the week (in the range 0-6).
|
Date
|
getAttribute()
|
Returns the value of the supplied attribute of the element node.
|
Element
|
getAttributeNode()
|
Returns the node with the supplied attribute.
|
Element
|
getBoundingClientRect()
|
Reveals the size and position of the element with respect to the viewport.
|
Element
|
getComputedStyle()
|
Gets the current CSS styles applied to an element.
|
Window
|
getCurrentPosition()
|
Returns the current location of the device.
|
Geolocation
|
getElementById()
|
Returns the element with the supplied value for the ID property.
|
Document
|
getElementsByClassName()
|
Returns a NodeList containing every element belonging to the given class.
|
Document, Element
|
getElementsByName()
|
A NodeList is returned with all entries with the requested name.
|
Document
|
getElementsByTagName()
|
Returns a NodeList with all items having the given tag name.
|
Document, Element
|
getFullYear()
|
Returns the year.
|
Date
|
getHours()
|
Returns the hour (from 0-23).
|
Date
|
getItem()
|
Returns the value of the supplied key name.
|
Storage
|
getMilliseconds()
|
Returns the millisecond (0–999).
|
Date
|
getMinutes()
|
Minutes (from 0-59) are returned.
|
Date
|
getModifierState()
|
Returns an array of the target ranges that will be affected by the insertion or deletion.
|
MouseEvent
|
getMonth()
|
Returns the month (0-11).
|
Date
|
getNamedItem()
|
Returns a NamedNodeMap node with the supplied property.
|
Attribute
|
getSeconds()
|
Returns the time in seconds (0–59).
|
Date
|
getSelection()
|
Returns a Selection object representing the text selection selected by the user.
|
Window
|
getTargetRanges()
|
Returns an array of the target ranges that will be affected by the insertion or deletion.
|
InputEvent
|
getTime()
|
Returns a date and the amount of milliseconds since midnight on January 1, 1970.
|
Date
|
getTimezoneOffset()
|
Returns the local time offset from UTC, measured in minutes.
|
Date
|
getUTCDate()
|
Returns the day of the month in universal time, from 1 to 31.
|
Date
|
getUTCDay()
|
Returns the day of the week in Universal Time from 0 to 6.
|
Date
|
getUTCFullYear()
|
Returns the year in universal time.
|
Date
|
getUTCHours()
|
Returns the hour in Universal Time (between 0 and 23).
|
Date
|
getUTCMilliseconds()
|
Returns the millisecond (from 0-999) in universal time.
|
Date
|
getUTCMinutes()
|
Returns the minute in Universal Time, from 0 to 59.
|
Date
|
getUTCMonth()
|
Returns the month, from 0 to 11, in universal time.
|
Date
|
getUTCSeconds()
|
Returns the seconds (from 0-59) in universal time.
|
Date
|
getYear()
|
Excluded. Instead, use the getFullYear() function.
|
Date
|
global
|
Determines whether the "g" modifier is active.
|
RegExp
|
go()
|
Takes a specified URL from the history list and loads it.
|
History
|
group()
|
On Terminal, creates a new inline group. This adds another level of indentation to subsequent console messages up to the console. GroupEnd() gets called.
|
Console
|
groupCollapsed()
|
On Terminal, creates a new inline group. The newly formed organization, however, disintegrated. To expand it, the user has to press the disclosure button.
|
Console
|
groupEnd()
|
Inline group that is now open in the console.
|
Console
|
hasAttribute()
|
Whether an element has the specified property is indicated by returning true or false.
|
Element
|
hasAttributes()
|
Returns true if an element has an attribute and false otherwise.
|
Element
|
hasChildNodes()
|
If a node has children, the return value is true; Otherwise, it is false.
|
Element
|
hasFocus()
|
A Boolean result indicating whether the document has focus.
|
Document
|
hash
|
Returns or sets the anchor portion (#) of a URL.
|
Location
|
head
|
Returns the head of the document> element.
|
Document
|
height
|
Returns the overall height of the screen.
|
Screen
|
history
|
Returns the history object of the window (see History object).
|
Window
|
host
|
Sets or returns the hostname and port of a URL.
|
Location
|
hostname
|
Returns or sets the hostname of the URL.
|
Location
|
href
|
Returns or sets the absolute URL.
|
Location
|
id
|
Sets or returns the value of the id property of an element.
|
Element
|
if ... else ... else if
|
Marks a group of statements so that they can be executed in response to a condition.
|
Statements
|
ignoreCase
|
Determines whether the "i" modifier is active.
|
RegExp
|
images
|
Returns a collection of all the document's "img" components.
|
Document
|
implementation
|
Returns the DOMI implementation object to handle returning this document.
|
Document
|
import
|
Import from exposed functions of the script as well as from external modules.
|
|
importNode()
|
A node is imported from another document.
|
Document
|
in
|
Returns true if the requested attribute is present in the requested object; otherwise false.
|
Operators
|
includes()
|
Verify whether an array contains the requested element.
|
Array, String
|
indexOf()
|
Finds an element in an array and returns its position.
|
Array, String
|
Infinity
|
A number that symbolizes positive or negative infinity.
|
Global
|
info()
|
Sends a console-based informational message.
|
Console
|
innerHeight
|
Provides the viewport (content area) of the height of the window, including scrollbars.
|
Window
|
innerHTML
|
Returns or sets the content of an element.
|
Element
|
innerText
|
The text content of a node and its descendants can be set or returned.
|
Element
|
innerWidth
|
Provides the viewport (content area) width of the window, including scrollbars.
|
Window
|
inputEncoding
|
Returns the character set and encoding applied to the document.
|
Document
|
inputType
|
Returns the type of change (such as "delete" or "insert").
|
InputEvent
|
insertAdjacentElement()
|
Adds a new HTML element relative to the existing element at the given position.
|
Element
|
insertAdjacentHTML()
|
Inserts a text using an HTML format at the specified position in the current element.
|
Element
|
insertAdjacentText()
|
Text is inserted with respect to the current element at the given position.
|
Element
|
insertBefore()
|
Places a new child node before the provided existing child node.
|
Element
|
instanceof
|
Returns true if the given object is an instance of the given object.
|
Operators
|
isArray()
|
Determines whether the given item is an array.
|
Array
|
isComposing
|
Returns whether the event is in the creation stage.
|
InputEvent, KeyboardEvent
|
isContentEditable
|
Returns true if the content of an element can be modified, and false otherwise.
|
Element
|
isDefaultNamespace()
|
Returns true if namespaceURI is the default, false otherwise.
|
Element
|
isEqualNode()
|
Determines whether two items are identical.
|
Element
|
isFinite()
|
Evaluates the validity of a value as a finite number.
|
Global, Number
|
isId
|
Returns true if the attribute is of type Id; Otherwise, it returns false.
|
Attribute
|
isInteger()
|
Verifies the integer position of the input value.
|
Number
|
isNaN()
|
Checks to see if a value is a restricted number.
|
Global, Number
|
isSafeInteger()
|
Determines whether a value is a safe integer.
|
Number
|
isSameNode()
|
Evaluates whether two items are the same node.
|
Element
|
isSupported()
|
Returns true if the element supports the requested functionality.
|
Element
|
isTrusted
|
Returns a confidence value for an event.
|
Event
|
item()
|
Returns the NamedNodeMap attribute node at the requested index.
|
Attribute, HTMLCollection
|
join()
|
Concatenates all the items of an array into a single string.
|
Array
|
key
|
Returns the key value for the event-represented key.
|
KeyboardEvent, StorageEvent
|
key()
|
Returns the name of the nth key in the store back.
|
Storage
|
keyCode
|
Returns either the Unicode key code for the key that caused the onkeydown or onkeyup event, or the Unicode character code for the key that caused the onkeypress event.
|
KeyboardEvent
|
keys()
|
Returns an ArrayIteration object with the keys of the original array in it.
|
Array
|
lang
|
Returns or sets the value of the lang property of an element.
|
Element
|
language
|
Returns the language of the browser.
|
Navigator
|
lastChild
|
Returns the last child node of an element.
|
Element
|
lastElementChild
|
Returns the most recent child element of an element.
|
Element
|
lastIndex
|
Specifies the venue at which the next match will start.
|
RegExp
|
lastIndexOf()
|
Searches the array for an element, starting from the end, then returns the position of the element.
|
Array, String
|
lastModified
|
Returns the last modification time and date of the document.
|
Document
|
length
|
Sets or returns the number of elements of the array.
|
Array, Attribute, History, HTMLCollection, Window, Storage
|
lengthComputable
|
Returns whether the stride length can be computed or not.
|
ProgressEvent
|
let
|
Declares the scope of a variable within the parentheses.
|
Statements
|
links
|
Returns a list of all document elements with a field and href attribute.
|
Document
|
LN2
|
The natural logarithm of 2 is returned, which is approximately 0.693.
|
Math
|
LN10
|
The natural logarithm of 10 (or approximately 2.302) is returned.
|
Math
|
loaded
|
Returns the amount of work loaded.
|
ProgressEvent
|
localeCompare()
|
Compares two strings, in the current locale.
|
String
|
localStorage
|
Enables key/value pairs to be saved in the web browser. Stores information without time limit.
|
Window
|
location
|
Returns the position of a key on a keyboard or other device.
|
KeyboardEvent
|
location
|
Returns the Location object of the window (see Location object).
|
Window
|
log()
|
Returns the natural logarithm of a number.
|
Math, Console
|
log10()
|
Returns the base-10 logarithm of a number.
|
Math
|
log1p()
|
1 + a Returns the natural logarithm of a number.
|
Math
|
log2()
|
Returns the base-2 logarithm of a number.
|
Math
|
LOG2E
|
Returns the base-2 logarithm of E , which is approximately 1.442.
|
Math
|
LOG10E
|
Returns the base-10 logarithm of E , which is approximately 0.434.
|
Math
|
map()
|
Calls a function for each element of the existing array and returns the result in a new array.
|
Array
|
match()
|
Returns the result of matching a string against a regular expression.
|
String
|
matches()
|
Returns a Boolean value indicating whether an element has been found with a certain CSS selector.
|
Element
|
matchMedia()
|
Returns a MediaQueryList object that matches the given CSS media query string.
|
Window
|
max()
|
Returns the value of the largest possible number.
|
Math
|
MAX_VALUE
|
Returns the largest integer capable of in JavaScript.
|
Number
|
message
|
Returns or sets an error message, which is a string.
|
Error
|
metaKey
|
Whether the "meta" key was pushed when an event was triggered.
|
MouseEvent, KeyboardEvent, TouchEvent
|
min()
|
Returns the value of the lowest possible number.
|
Math
|
multiline
|
Determines whether the "m" modifier is active.
|
RegExp
|
MIN_VALUE
|
Returns the least integer that JavaScript is capable of.
|
Number
|
moveBy()
|
Restores a window with respect to its current location.
|
Window
|
moveTo()
|
Restores a window to the given location.
|
Window
|
MovementX
|
Returns the horizontal position of the mouse pointer with respect to the position of the latest mousemove event.
|
MouseEvent
|
MovementY
|
Returns the vertical position of the mouse pointer with respect to the location of the latest mousemove event.
|
MouseEvent
|
name
|
Returns or sets the name of the error.
|
Error, Attribute, Window
|
namedItem()
|
Returns the element in the HTMLCollection with the provided ID or name.
|
HTMLCollection
|
namespaceURI
|
Returns the namespace URI of the element.
|
Element
|
NaN
|
The value of "not-a-number".
|
Global, Number
|
navigator
|
Returns the Navigator object of the window (see Navigator object).
|
Window
|
NEGATIVE_INFINITY
|
(returned on overflow) denotes negative infinity.
|
Number
|
new
|
A constructor creates the instance.
|
|
newURL
|
Returns the URL of the document after the hash has been modified.
|
HasChangeEvent
|
newValue
|
Returns the new value of the modified storage item.
|
StorageEvent
|
nextSibling
|
The following node is given in the same node tree level.
|
Element
|
nextElementSibling
|
Returns the subsequent element, at the same node tree level.
|
Element
|
nodeName
|
Returns the name of the node.
|
Element
|
nodeType
|
Returns the node type of a node.
|
Element
|
nodeValue
|
Returns or sets the value of the node.
|
Element
|
normalize()
|
Joins adjacent nodes and removes empty text nodes.
|
Document, Element
|
normalizeDocument()
|
Joins adjacent nodes and removes empty text nodes.
|
Document
|
now()
|
Returns the number of milliseconds since midnight on January 1, 1970.
|
Date
|
Number()
|
Converts the value of an object to a number.
|
Global
|
offsetHeight
|
Returns the height of the element including padding, border, and scrollbars.
|
Element
|
offsetWidth
|
Returns the width of the element, including padding, borders, and scrollbars.
|
Element
|
offsetLeft
|
Returns the horizontal offset position of the element.
|
Element
|
offsetParent
|
Returns the offset container of the element.
|
Element
|
offsetTop
|
Returns the vertical offset location of the element.
|
Element
|
offsetX
|
Returns the horizontal position of the mouse pointer with respect to the edge of the target element.
|
MouseEvent
|
offsetY
|
Returns the vertical position of the mouse pointer with respect to the edge of the target element.
|
MouseEvent
|
oldURL
|
Provides the URL of the document as it was before the hash was changed.
|
HasChangeEvent
|
oldValue
|
Returns the previous value for the modified storage object.
|
StorageEvent
|
onabort
|
The event occurs when the media loading attempt is abandoned.
|
UiEvent, Event
|
onafterprint
|
The event occurs as soon as a page begins to print or the print dialog box is closed.
|
Event
|
onanimationend
|
The event occurs the moment the CSS animation ends.
|
AnimationEvent
|
onanimationiteration
|
The event occurs when a CSS animation is repeated.
|
AnimationEvent
|
onanimationstart
|
The event occurs when a CSS animation starts.
|
AnimationEvent
|
onbeforeprint
|
The event occurs when a page is about to be printed.
|
Event
|
onbeforeunload
|
The event occurs before the document is unloaded.
|
UiEvent, Event
|
onblur
|
When an element loses focus, an event occurs.
|
FocusEvent
|
oncanplay
|
The event occurs the moment the media can start playing in the browser (when it has enough buffer to do so).
|
Event
|
oncanplaythrough
|
The event occurs when the media can be played by the browser without stopping for buffering.
|
Event
|
onchange
|
The content, selection, or checked state of a form element has changed (for input, select, and textarea elements, respectively).
|
Event
|
onclick
|
The moment the user clicks on an element, the event is triggered.
|
MouseEvent
|
oncontextmenu
|
The event occurs when a user right-clicks on an element to view the context menu.
|
MouseEvent
|
oncopy
|
The event occurs when a user copies the content of an element.
|
ClipboardEvent
|
oncut
|
The event occurs when a user clicks on the content of an element.
|
ClipboardEvent
|
ondblclick
|
The event occurs when a user double-clicks on an element.
|
MouseEvent
|
ondrag
|
When an element is dragged, the event occurs.
|
DragEvent
|
ondragend
|
The event occurs when a user has finished dragging an element.
|
DragEvent
|
ondragenter
|
When the dragged object reaches the drop target, the event occurs.
|
DragEvent
|
ondragleave
|
The event occurs when the dragged object moves away from the drop target.
|
DragEvent
|
ondragover
|
The event occurs when the dragged object crosses the drop target.
|
DragEvent
|
ondragstart
|
The moment the user starts dragging an element, the event is triggered.
|
DragEvent
|
ondrop
|
The event occurs when the dragged element is dropped onto the drop target.
|
DragEvent
|
ondurationchange
|
The event occurs when the length of the media is changed.
|
Event
|
onemptied
|
Anything catastrophic happened when the media file suddenly became unreachable (such an unexpected connection).
|
|
onended
|
When the media ends, the event occurs (great for messages like "Thanks for listening").
|
Event
|
onerror
|
The event occurs when an error occurs while loading an external file.
|
ProgressEvent, UiEvent, Event
|
onfocus
|
When an element comes into focus, the event occurs.
|
FocusEvent
|
onfocusin
|
When an element is about to be focused, the event occurs.
|
FocusEvent
|
onfocusout
|
When an element is about to lose focus, an event occurs.
|
FocusEvent
|
onfullscreenchange
|
The event occurs when an element is shown in fullscreen mode.
|
Event
|
onfullscreenerror
|
Event occurs when an element cannot be shown in fullscreen mode.
|
Event
|
onhashchange
|
The event occurs when the anchor portion of the URL is changed.
|
HashChangeEvent
|
oninput
|
The event occurs when a user inputs data into an element.
|
InputEvent, Event
|
oninvalid
|
When an element is invalid, the event occurs.
|
Event
|
onkeydown
|
The event occurs when the user presses a key.
|
KeyboardEvent
|
onkeypress
|
When the user presses the key, the event occurs.
|
KeyboardEvent
|
onkeyup
|
When a key is released, the event occurs.
|
KeyboardEvent
|
onLine
|
Checks to see if the browser is online.
|
Navigator
|
onload
|
When an item is loaded, the event occurs.
|
UiEvent, Event
|
onloadeddata
|
Event occurs when media data is loaded.
|
Event
|
onloadedmetadata
|
The event occurs when metadata is loaded, such as size and duration.
|
Event
|
onloadstart
|
The event occurs when the browser begins to seek the supplied media.
|
ProgressEvent
|
onmessage
|
The event occurs when a message is received from the event source.
|
Event
|
onmousedown
|
When a user clicks their mouse on an element, the event occurs.
|
MouseEvent
|
onmouseenter
|
The moment the pointer touches an element, the event occurs.
|
MouseEvent
|
onmouseleave
|
The event occurs when the pointer leaves an element.
|
MouseEvent
|
onmousemove
|
When the pointer moves over an element, the event occurs.
|
MouseEvent
|
onmouseover
|
The event occurs when the pointer is moved to an element or one of its descendants.
|
MouseEvent
|
onmouseout
|
The event occurs when a user drags the mouse cursor outside an element or one of its descendants.
|
MouseEvent
|
onmouseup
|
The event occurs when a user releases the mouse button on an element.
|
MouseEvent
|
onmousewheel
|
Excluded. Instead, use the wheel event.
|
WheelEvent
|
onoffline
|
The event occurs when the browser starts working offline.
|
Event
|
ononline
|
The event occurs when the browser starts working online.
|
Event
|
onopen
|
When the link to the event source is established, the event occurs.
|
Event
|
onpagehide
|
The event occurs when a user leaves the webpage.
|
PageTransitionEvent
|
onpageshow
|
The event occurs when a user navigates to a webpage.
|
PageTransitionEvent
|
onpaste
|
The event occurs when a user pastes content into an element.
|
ClipboardEvent
|
onpause
|
The media is paused when the event occurs, either manually or automatically.
|
Event
|
onplay
|
The event occurs when the media is either started or not stopped.
|
Event
|
onplaying
|
Occurs when media is playing to allow buffering after stopping or interrupting.
|
Event
|
onpopstate
|
The event occurs when the window's history changes.
|
PopStateEvent
|
onprogress
|
The event occurs when the browser is downloading media, or receiving media data.
|
Event
|
onratechange
|
The event occurs when the media playing speed is changed.
|
Event
|
onresize
|
The event occurs when the document view is resized.
|
UiEvent, Event
|
onreset
|
The moment a form is reset, the event occurs.
|
Event
|
onscroll
|
The event occurs when the scrollbar of an element is scrolled.
|
UiEvent, Event
|
onsearch
|
The event occurs when a user enters text into a search field (for input="search"> ).
|
Event
|
onseeked
|
The event occurs when the user has finished navigating or left to a new location in the media.
|
Event
|
onseeking
|
The event occurs when the user starts or leaves a new location in the media.
|
Event
|
onselect
|
The selection of text by the user (for both input and textarea) triggers the event.
|
UiEvent, Event
|
onshow
|
Event occurs when a menu element is shown as a context menu.
|
Event
|
onstalled
|
The event occurs when media data is unavailable when the browser is trying to download it.
|
Event
|
onstorage
|
The event occurs when a web storage area is modified.
|
StorageEvent
|
onsubmit
|
The event occurs as soon as the form is submitted.
|
Event
|
onsuspend
|
The event occurs when the browser intentionally does not receive media data.
|
Event
|
ontimeupdate
|
When the user fast forwards to another point in the media, for example, the event is triggered when the playing position changes.
|
Event
|
ontoggle
|
The user opening or closing the Details> element triggers the event.
|
Event
|
ontouchcancel
|
When the touch is broken, then the event occurs.
|
TouchEvent
|
ontouchend
|
This event occurs when a finger is removed from the touch screen.
|
TouchEvent
|
ontouchmove
|
The event occurs when the finger is dragged across the screen.
|
TouchEvent
|
ontouchstart
|
When a finger is placed on the touch screen, the event occurs.
|
TouchEvent
|
ontransitionend
|
The event occurs the moment the CSS transition ends.
|
TransitionEvent
|
onunload
|
Once the page is unloaded (> for body), the event occurs.
|
UiEvent, Event
|
onvolumechange
|
Occurs when the volume of the media is changed (including when it is set to "mute").
|
Event
|
onwaiting
|
The media stops to buffer more data, for example, when the event occurs when the media is paused but is expected to resume.
|
Event
|
onwheel
|
When the mouse wheel moves over an element, the event occurs.
|
WheelEvent
|
open()
|
Opens an HTML output stream to receive the document's output. Write().
|
Document, Window
|
opener
|
A reference to the window that started the window is returned.
|
Window
|
origin
|
Provides the protocol, host name, and port number of the URL.
|
Location
|
outerHeight
|
Returns the height of the browser window including toolbars and scrollbars.
|
Window
|
outerHTML
|
Returns or sets the outer content of an element.
|
Element
|
outerText
|
Returns or sets the outer text content of the node and its descendants.
|
Element
|
outerWidth
|
Returns the width of the browser window, including toolbars and scrollbars.
|
Window
|
ownerDocument
|
Returns the root element (the document object) of the element.
|
Element
|
pageX
|
Returns the position of the horizontal axis of the mouse pointer with respect to the page at the time of the mouse event.
|
MouseEvent
|
pageXOffset
|
Returns the number of horizontal scrolling pixels made on the current page, starting from the top left corner of the window.
|
Window
|
pageY
|
Returns the position of the mouse pointer's vertical axis with respect to the page at the time of the mouse event.
|
MouseEvent
|
pageYOffset
|
Provides vertical scrolling of the current document's pixels from the top left corner of the window.
|
Window
|
parent
|
Returns the parent window of the current window.
|
Window
|
parentNode
|
Returns the root node of the element.
|
Element
|
parentElement
|
Returns the parent element node of the element.
|
Element
|
parse()
|
After parsing the date string, gets the amount of milliseconds since Jan 1, 1970.
|
Date, JSON
|
parseFloat()
|
Returns a floating point number after parsing a string.
|
Global
|
parseInt()
|
Returns an integer after parsing a string.
|
Global
|
pathname
|
Returns or sets the path name of a URL.
|
Location
|
persisted
|
Determines whether the browser has cached the website or not.
|
PageTransitionEvent
|
PI
|
Returns a PI of approximately 3.14.
|
Math
|
pixelDepth
|
Returns the color resolution of the screen (in bits per pixel).
|
Screen
|
platform
|
Returns the platform for which the browser was built.
|
Navigator
|
pop()
|
Returns the element from the array after the last element has been removed.
|
Array
|
port
|
Sets or returns the port number of the URL.
|
Location
|
position
|
Returns the location of the affected device at a specific time.
|
Geolocation
|
positionError
|
Returns the cause of any geographic location device error.
|
Geolocation
|
positionOptions
|
Interprets an object containing attributes that can be sent as parameters to a geolocation. Geolocation and getCurrentPosition().watchPosition()
|
Geolocation
|
POSITIVE_INFINITY
|
(on overflow, it returns) denotes infinity.
|
Number
|
preventDefault()
|
If an event is cancelable, it is canceled, preventing the default action of the event from occurring.
|
Event
|
print()
|
The contents of the current window are printed.
|
Window
|
product
|
Returns the engine name of the browser.
|
Navigator
|
propertyName
|
The name of the CSS property associated with the associated animation or transition is returned.
|
AnimationEvent, TransitionEvent
|
protocol
|
Returns or sets the protocol of the URL.
|
Location
|
prototype
|
Enables you to provide additional properties and methods to an Array object.
|
Array, Boolean, Date
|
pseudoElement
|
Returns the name of the animation or transition pseudo-element.
|
AnimationEvent, TransitionEvent
|
push()
|
Returns the updated length of the array after additional members have been added to the end.
|
Array
|
querySelector()
|
Returns the first element in the page that matches the given CSS selection or selectors.
|
Document, Element
|
querySelectorAll()
|
A static NodeList containing all elements in the document that match the provided CSS selector(s).
|
Document, Element
|
random()
|
A random number between 0 and 1 is given.
|
Math
|
readyState
|
Returns the (loading) status of the document.
|
Document
|
reduce()
|
From left to right, reduce each value in the array to a single value.
|
Array
|
reduceRight()
|
From right to left, reduce each value in the array to a single value.
|
Array
|
referrer
|
Provides the URL of the document that was used to load the current content.
|
Document
|
region
|
|
MouseEvent
|
reload()
|
The current document is reload.
|
Location
|
remove()
|
The element is removed from the DOM.
|
Element
|
removeAttribute()
|
The specified attribute of an element is removed.
|
Element
|
removeAttributeNode()
|
Returns the deleted node after the supplied attribute node has been deleted.
|
Element
|
removeChild()
|
Makes the child nodes of an element disappear.
|
Element
|
removeEventListener()
|
Enables you to detach an event handler that was added using the addEventListener() function.
|
Element
|
removeItem()
|
The key is taken out of storage.
|
Storage
|
repeat
|
Indicates whether a key is being held down repeatedly.
|
KeyboardEvent
|
repeat()
|
A new string containing the specified number of copies of the old string is returned.
|
String
|
replace()
|
Generates a new string that replaces the given values with the results of a string search for the specified value or regular expression.
|
String, Location
|
replaceChild()
|
A child node within an element has been replaced.
|
Element
|
requestAnimationFrame()
|
Tells the browser to use a certain function to update the animation before later repainting.
|
Window
|
requestFullscreen()
|
Displays an object in fullscreen mode.
|
Element
|
resizeBy()
|
Shrinks the window by the selected number of pixels.
|
Window
|
resizeTo()
|
The window is resized to the desired width and height.
|
Window
|
return
|
Stops the execution of a function and returns the value produced by it.
|
Statements
|
reverse()
|
Reverses the order of the items of the array.
|
Array
|
round()
|
Rounds x to the nearest whole number.
|
Math
|
pow()
|
Returns the value y to the power of x.
|
Math
|
previousSibling
|
Returns the previous node, at the same node tree level.
|
Element
|
previousElementSibling
|
Returns the previous element, at the same node tree level.
|
Element
|
prompt()
|
Displays a dialog box that requests input from the visitor.
|
Window
|
prototype
|
Enables you to add methods and attributes to an object.
|
Number
|
relatedTarget
|
The element bound to the element is returned because of the mouse event.
|
MouseEvent, FocusEvent
|
removeEventListener()
|
Removes event handlers that have been added to the document using the AddEventListener() function.
|
Document
|
removeNamedItem()
|
Removes the node with the specified attribute.
|
Attribute
|
renameNode()
|
The given node has been renamed.
|
Document
|
screen
|
Returns the Screen object of the window (see Screen object).
|
Window
|
screenLeft
|
Returns the screen-relative horizontal coordinate of the window.
|
Window
|
screenTop
|
Provides the screen-relative vertical coordinates of the window.
|
Window
|
screenX
|
Provides the horizontal coordinate of the window or mouse pointer with respect to the screen.
|
Window, MouseEvent
|
screenY
|
Provides the vertical coordinate of the window or mouse pointer with respect to the screen.
|
Window, MouseEvent
|
scripts
|
Returns a list of all script components in the document.
|
Document
|
scroll()
|
Excluded. The scrollTo() function has taken its place.
|
Window
|
scrollBy()
|
The document is scrolled by a provided amount of pixels.
|
Window
|
scrollHeight
|
Returns the full height of an element, including padding.
|
Element
|
scrollIntoView()
|
Scrolls the selected element into view in the browser window.
|
Element
|
scrollLeft
|
Determines or returns the amount of horizontal scrolling in pixels for an element.
|
Element
|
scrollTo()
|
The document is scrolled to the given positions.
|
Window
|
scrollTop
|
Sets or returns the amount of vertical scrolling, in pixels, for an element.
|
Element
|
scrollWidth
|
Returns the full width of the element including padding.
|
Element
|
scrollX
|
A substitute for pageXOffset.
|
Window
|
scrollY
|
A substitute for pageYOffset.
|
Window
|
search
|
Returns or sets the querystring component of the URL.
|
Location
|
search()
|
Returns the location of a match when the regular expression or the given value is searched for in a string.
|
String
|
self
|
Brings back the active window.
|
Window
|
sessionStorage
|
Provides the ability to store key/value pairs in web browsers. The data of one session is stored.
|
Window
|
setAttribute()
|
Sets or modifies the value of the given attribute.
|
Element
|
setAttributeNode()
|
The node that sets or modifies the given attribute.
|
Element
|
setDate()
|
The month day of the Date object is set.
|
Date
|
setFullYear()
|
Sets the year of the Date object.
|
Date
|
setHours()
|
Sets the hour of the Date object.
|
Date
|
setInterval()
|
At a predetermined interval (measured in milliseconds), calls a function or evaluates an expression.
|
Window
|
setItem()
|
Updates the value of a key if it already exists, or adds that key to storage.
|
Storage
|
setMilliseconds()
|
Sets the milliseconds of the date object.
|
Date
|
setMinutes()
|
Set the minutes of the Date object.
|
Date
|
setMonth()
|
Sets the month of the Date object.
|
Date
|
setNamedItem()
|
Sets the specified attribute node (by name).
|
Attribute
|
setSeconds()
|
Sets the seconds of the date object.
|
Date
|
setTime()
|
A date can be set to a certain amount of milliseconds before or after January 1, 1970.
|
Date
|
setTimeout()
|
Calls a function or evaluates an expression after a predetermined number of milliseconds.
|
Window
|
setUTCDate()
|
Sets the day of the month for a Date object in universal time.
|
Date
|
setUTCFullYear()
|
Adjusts the year of a Date object to reflect universal time.
|
Date
|
setUTCHours()
|
The time of a Date object is determined according to universal time.
|
Date
|
setUTCMilliseconds()
|
Sets the date object's milliseconds according to universal time.
|
Date
|
setUTCMinutes()
|
The minutes of a Date object must be set to Universal Time.
|
Date
|
setUTCMonth()
|
Sets the month of the Date object to the current universal time.
|
Date
|
setUTCSeconds()
|
Sets the date object's seconds in UT (Universal Time).
|
Date
|
setYear()
|
Excluded. Instead, use the setFullYear() function.
|
Date
|
shift()
|
Returns the element of an array that was removed after the first element.
|
Array
|
shiftKey
|
Returns if the "SHIFT" key was pressed when an event was initiated.
|
MouseEvent, KeyboardEvent, TouchEvent
|
sign(x)
|
Returns the sign of the number, indicating whether it is positive, negative, or zero.
|
Math
|
sin()
|
Returns the sine of x (where x is a radian value).
|
Math
|
sinh()
|
Returns the hyperbolic sine of x as the response.
|
Math
|
slice()
|
Returns a new array after selecting a portion of the original array.
|
Array, String
|
some()
|
Determines whether an array element has passed a test.
|
Array
|
sort()
|
Sorts the constituent parts of an array.
|
Array
|
source
|
Returns the text of the RegExp pattern.
|
RegExp
|
specified
|
Returns true if the property is provided; Otherwise, it returns false.
|
Attribute
|
splice()
|
Removes or adds elements to an array.
|
Array
|
split()
|
Creates an array of strings separated by a single string.
|
String
|
static
|
Defines a static method of a class.
|
Classes
|
startsWith()
|
Determines whether a string begins with a certain set of characters.
|
String
|
state
|
Returns a copy of the history entries as an object.
|
PopStateEvent
|
String()
|
Translates the value of an object into a string.
|
Global
|
stop()
|
Interrupts the loading of the window.
|
Window
|
stopImmediatePropagation()
|
Prevents other listeners of the same event from being called.
|
Event
|
stopPropagation()
|
Prevents an event from propagating further during the event flow.
|
Event
|
stringify()
|
Create a JSON string from a JavaScript object.
|
JSON
|
sqrt()
|
Returns the square root of x.
|
Math
|
SQRT1_2
|
gives the square root of 1/2, or about 0.707.
|
Math
|
SQRT2
|
Returns the value of 1.414, which is the square root of 2.
|
Math
|
status
|
Returns or sets the text in the window's status bar.
|
Window
|
strictErrorChecking
|
Determines whether error-checking is required or returned.
|
Document
|
storageArea
|
Returns a representation of the affected storage item as an object.
|
StorageEvent
|
style
|
Returns or sets the value of the style attribute of an element.
|
Element
|
substr()
|
Removes characters from a string starting at a specified position and continuing through the given amount of characters.
|
String
|
substring()
|
Gets characters from a string between the indices you supply.
|
String
|
super
|
called the parent class.
|
Classes
|
switch
|
Identifies a block of statements that will be executed according to certain conditions.
|
Statements
|
table()
|
Tabular data is shown in the form of a table.
|
Console
|
tabIndex
|
Sets or returns the value of the tabindex property of an element.
|
Element
|
tagName
|
Returns the tag name of the element.
|
Element
|
tan()
|
Returns the tangent of an angle.
|
Math
|
tanh()
|
Returns the hyperbolic tangent of a number.
|
Math
|
target
|
Returns the event-triggering element of the event.
|
Event
|
targetTouches
|
Lists all touch objects that have physical contact with the surface and whose touchstart events occur on the same target element as the current target element.
|
TouchEvent
|
test()
|
Looks for a match within a string. True or false is returned.
|
RegExp
|
textContent
|
The text content of a node and its descendants can be set or returned.
|
Element
|
this
|
Refers to the item of which it is a part.
|
|
throw
|
Creates (throws) an error.
|
Statements
|
time()
|
Starts a timer that can measure the duration of an operation.
|
Console
|
timeEnd()
|
Stops a timer that has already been stopped by console.time().
|
Console
|
timeStamp
|
Returns the time when the event occurred.
|
Event
|
title
|
Returns or sets the title of the document.
|
Document, Element
|
toDateString()
|
Creates a readable string from the date component of a date object.
|
Date
|
toGMTString()
|
Excluded. Instead, use the toUTCString() function.
|
Date
|
toExponential()
|
Creates an exponential representation of a number.
|
Number
|
toFixed(x)
|
Formats a number to x digits after the decimal point.
|
Number
|
toJSON()
|
A string containing the date formatted as a JSON date is returned.
|
Date
|
toISOString()
|
Uses the ISO standard for returning the date as a string.
|
Date
|
toLocaleDateString()
|
Uses localization conventions to return the date component of a Date object as a string.
|
Date
|
toLocaleLowerCase()
|
Converts the string to lowercase letters, depending on the locale of the host.
|
String
|
toLocaleString()
|
Use the locale parameters to convert the Date object to a string.
|
Date
|
toLocaleTimeString()
|
Uses the locale parameters to return the time component of the date object as a string.
|
Date
|
toLocaleUpperCase()
|
Converts a string to uppercase letters, as appropriate for the host's locale.
|
String
|
toLowerCase()
|
A string has been converted to lowercase characters.
|
String
|
top
|
The top most browser window is given.
|
Window
|
toPrecision(x)
|
Extends the format of a number to x.
|
Number
|
toString()
|
Returns the result of converting an array to a string.
|
Array, Boolean, Date, Number, RegExp, String, Element
|
total
|
The amount of work that would be fully loaded is returned.
|
ProgressEvent
|
toTimeString()
|
Converts the time component of a Date object to a string.
|
Date
|
touches
|
Returns a list of all touch objects that are currently in contact with the surface.
|
TouchEvent
|
toUpperCase()
|
A string has been converted to uppercase characters.
|
String
|
toUTCString()
|
Global time is used to convert a date object to a string.
|
Date
|
trace()
|
A stack trace is sent to the terminal.
|
Console
|
transitionend
|
The event occurs the moment the CSS transition ends.
|
TransitionEvent
|
trim()
|
Removes white space at both ends of a string.
|
String
|
trunc()
|
The (x) integer component of a number is given.
|
Math
|
try ... catch ... finally
|
The try block marks the set of instructions to be run when a problem is encountered and implements error handling.
|
Statements
|
type
|
Returns the name of the event.
|
Event
|
typeof
|
Indicates the type of a variable, object, function, or expression.
|
Operators
|
undefined
|
Shows that a variable has not yet been assigned a value.
|
Global
|
unescape()
|
In version 1.5, it was deprecated. Instead, use decodeURI() or decodeURIComponent() .
|
Global
|
unshift()
|
Increases the length of an array by appending additional members to the beginning of it.
|
Array
|
url
|
Returns the URL of the modified document.
|
StorageEvent
|
URL
|
Returns the absolute URL of the HTML document.
|
Document
|
userAgent
|
Provides the User-Agent header that was delivered to the server by the browser.
|
Navigator
|
UTC()
|
Returns, in UTC time, the amount of milliseconds that have elapsed since midnight on January 1, 1970, for the given date.
|
Date
|
value
|
Returns or sets the value of the attribute.
|
Attribute
|
valueOf()
|
Returns the primitive value of an array.
|
Array, Boolean, Date, Number, String
|
var
|
Introduces a variable.
|
Statements
|
warn()
|
Sends a warning message to the console.
|
Console
|
watchPosition()
|
By giving the Geolocation the Watch ID value, the handler can be unregistered. clearWatch() function.
|
Geolocation
|
which
|
Returns the mouse button that was pushed when the mouse event occurred.
|
MouseEvent, KeyboardEvent
|
width
|
Returns the width of the entire screen.
|
Screen
|
view
|
Refers to the window object that was the scene of the event.
|
UiEvent
|
void
|
Returns an undef value after the expression has been evaluated.
|
Operators
|
while
|
Indicates that a set of assertions must be made if a certain condition is true.
|
Statements
|
write()
|
Enables you to add JavaScript or HTML code to a document.
|
Document
|
writeln()
|
Write(), except each sentence is followed by a newline character.
|
Document
|
yield
|
Stops and restarts generator operation.
|
Operators
|