assign

fun assign(url: String)(source)

The assign() method of the Location interface causes the window to load and display the document at the URL specified.

MDN Reference


fun assign(url: URL)(source)