Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Javascript のFloat64Arrayを通常の配列に変換する組み込みの方法はありますか?
これを使って:
var normalArray = [].slice.call(floatArray);
デモ:
var floatArray = new Float64Array(4); floatArray[3] = 3.0; var normalArray = [].slice.call(floatArray); console.log(normalArray); //[0, 0, 0, 3]