toJSDate

fun Instant.toJSDate(): Date

Converts the Instant to an instance of JS Date.

The conversion is lossy: JS uses millisecond precision to represent dates, and Instant allows for nanosecond resolution.