diff options
-rw-r--r-- | files/ja/web/javascript/reference/global_objects/float64array/index.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ja/web/javascript/reference/global_objects/float64array/index.md b/files/ja/web/javascript/reference/global_objects/float64array/index.md index 2ddc27abb8..c635d203c3 100644 --- a/files/ja/web/javascript/reference/global_objects/float64array/index.md +++ b/files/ja/web/javascript/reference/global_objects/float64array/index.md @@ -109,13 +109,13 @@ var float64 = new Float64Array(2); float64[0] = 42; console.log(float64[0]); // 42 console.log(float64.length); // 2 -console.log(float64.BYTES_PER_ELEMENT); // 4 +console.log(float64.BYTES_PER_ELEMENT); // 8 // 配列から var arr = new Float64Array([21,31]); console.log(arr[1]); // 31 -// From another TypedArray +// 他の TypedArray から var x = new Float64Array([21, 31]); var y = new Float64Array(x); console.log(y[0]); // 21 |