- This code was tested only on cloud pages.
- You should include this snippet on your cloud page: %%=TreatAsContent(HTTPGet('https://raw.githubusercontent.com/devsutd/polyfill-ssjs/main/polyfill.js'))=%%.
For add new functionality please create a fork of this project and perform a pull request.
This polifill add support for
- Array.foreach
- Array.filter
- Array.map
- String.startsWith
- String.endsWith
- String.trim