Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/eta/polyfills.ts

Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript
Go to Latest
File
export const promiseImpl = Promise;
export function getAsyncFunctionConstructor(): Function { return async function () {}.constructor;}
export function trimLeft(str: string): string { return str.trimLeft();}
export function trimRight(str: string): string { return str.trimRight();}