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

            return(Float64Array.From(array));
        }