Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

1 Answer
karthikeya Boyini

The name property of the TypedArray object represents the name of the typed array in string (format)i.e. one of Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array.

Syntax

Its Syntax is as follows

Float32Array.name;

Example

Live Demo

<html>
   <head>
      <title>JavaScript Example</title>
   </head>
   <body>
      <script type="text/javascript">
         var nameOfarray1 = Float32Array.name;
         document.write("name of array1: "+nameOfarray1);
         document.write("<br>");
         var nameOfarray2 = Int16Array.name;
         document.write("name of array2: "+nameOfarray2);
      </script>
   </body>
</html>

Output

name of array1: Float32Array
name of array2: Int16Array

Advertisements

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.