
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
TypedArray Name Property in JavaScript
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
<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