collapse

fun collapse(node: Node?, offset: Int = definedExternally)(source)

MDN Reference