The Workers runtime provides the following standardized APIs for use by scripts running at the edge.
eval()is not allowed for security reasons.
new Functionis not allowed for security reasons.
Date.now()returns the time of the last I/O; it does not advance during code execution.
Web global APIs
Base64 utility methods
Both TextEncoder and TextDecoder support UTF-8 encoding/decoding.
The URL API supports urls conforming to http and https schemes.