public static void SetTypedArrayDouble(JSObject obj) { double[] buffer = Enumerable.Repeat(3.14d, 18).ToArray(); obj.SetObjectProperty("typedArray", Float64Array.From(buffer)); }
public static Float64Array Float64ArrayFrom() { var array = new double[50]; return(Float64Array.From(array)); }