JavaScript Web API


The Web API

The Web API has methods and properties that can extend the functionality of the browser.

Example

const myArray = new Uint32Array(10);
crypto.getRandomValues(myArray);
Try it Yourself »

Web API References

Reference Description
Console API Methods to access the browser's debugging console.
Fetch API Methods to fetch data from web servers.
Fullscreen API Methods to handle HTML elements in full-screen.
Geolocation API Methods to let users to provide their location to web applications.
History API Methods to access to the URLs visited by the user.
MediaQueryList API Methods to query the media (the screen).
Storage API Methods to access session and local storage.
Validation API Methods to validate HTML elements.

Other Properties and Methods

Property/Method Description
getRandomValues() Generates an array of random numbers

Copyright 1999-2023 by Refsnes Data. All Rights Reserved.