createScript

fun createScript(input: String, vararg arguments: ERROR CLASS: Symbol not found for JsAny??): TrustedScript(source)

The createScript() method of the TrustedTypePolicy interface creates a TrustedScript object using a policy created by TrustedTypePolicyFactory.createPolicy().

MDN Reference