Is it possible to use `new URL(....)` (ie the WHAT...
# suitescript
k
Is it possible to use
new URL(....)
(ie the WHATWG URL standard) in 2.1? I have tried and it throws an error - I just wondered if there was a way to import this (like node
import url from 'url';
)?
b
nothing native
if you really wanted it, then you probably need to use the polyfill from core js