---
updatedAt: 2026-03-01T18:55:22.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/edgeworkers/llms.txt
---

# Specifications

The EdgeWorkers service is built on V8 and supports various [ECMAScript](https://tc39.es/ecma262/) language features implemented by the [V8 JavaScript engine](https://v8.dev/). APIs commonly used by web developers, that are not part of the language specification itself, are not provided by EdgeWorkers.

The following are examples of common APIs not provided by EdgeWorkers: [DOM APIs](https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model), Network request APIs such as [XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest), and the[ Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).

# JavaScript language feature modifications

Review the table below for information about updates to the JavaScript runtime security.

[block:parameters]
{
  "data": {
    "h-0": "Feature",
    "h-1": "Update",
    "h-2": "Description",
    "0-0": "SharedArrayBuffer",
    "0-1": "removed",
    "0-2": "Sets the V8 Flag `--no-harmony-SharedArrayBuffer`.  \nPrevents the use of features such as `SharedArrayBuffer` and `Atomics` in the API.",
    "1-0": "Code Generation",
    "1-1": "removed",
    "1-2": "Disables code generation from strings.  \nPrevents the use of features such as `new Function ()` and `eval` in the API.",
    "2-0": "System Time",
    "2-1": "modified",
    "2-2": "Prevents time from incrementing during an event handler in the JavaScript API.  \nFeatures such as `Date.now()` return the start time of the callback execution.",
    "3-0": "WebAssembly",
    "3-1": "removed",
    "3-2": "Sets the V8 Flag `--no-expose-wasm`.  \nPrevents the use of features such as `WebAssembly` in the API."
  },
  "cols": 3,
  "rows": 4,
  "align": [
    "left",
    "left",
    "left"
  ]
}
[/block]

# Considerations

The EdgeWorkers service compiles scripts as an ECMAScript Module. When using an ECMAScript Module you must enable strict mode and export the event handler functions.

Different event handlers may be executed in different instances of the JavaScript engine. As a result, writes to global JavaScript variables within event handlers are not reliably preserved across separate event handler executions.

# Sibling pages

* [Welcome to EdgeWorkers](https://techdocs.akamai.com/edgeworkers/docs/welcome-to-edgeworkers.md)
* [EdgeWorkers event model](https://techdocs.akamai.com/edgeworkers/docs/event-handler-functions.md)
* [Administrator and developer roles](https://techdocs.akamai.com/edgeworkers/docs/administrator-and-developer-roles.md)
* [Akamai Functions & EdgeWorkers comparison](https://techdocs.akamai.com/edgeworkers/docs/akamai-functions-edgeworkers-comparison.md)
* [Tutorials](https://techdocs.akamai.com/edgeworkers/docs/use-cases.md)