JSContext: added solveTriangular method