(ES6) ES6 (2016)

TypedArr (TC04)

   1:  const arr = new Int8Array(2); //Creates typed array with 2 elements
   2:  console.log(arr); // Output: Int8Array(2) [ 0, 0 ]



Creating Typed Arrays With a specific size:





TypedArr context:






ES6 context:




Binary context:



Comments ( )
Link to this page: http://www.vb-net.com/JavascriptES6/TC04.htm
< THANKS ME>