Contents

init(range:in:)

Declaration

init!(range: NSRange, in context: JSContext!)

Return Value

A newly allocated JavaScript object containing properties named location and length, with values from the NSRange.

Discussion

Create a JSValue from a NSRange.