
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 Buffer Property in JavaScript
The buffer property of the TypedArray represents the ArrayBuffer of the current TypedArray.
Syntax
Its Syntax is as follows
obj.buffer;
Example
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var buffer = new ArrayBuffer(156); var float32 = new Float32Array(buffer); document.write(float32.buffer.byteLength); </script> </body> </html>
Output
156
Advertisements