bind

fun bind(cx: Context, scope: Scriptable, id: String): Scriptable?

Finds the object in the scope chain that holds id, for an assignment. Null if none does.