- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
DataView.buffer property in JavaScript
The buffer property of the DataView represents the ArrayBuffer of the current DataView.
Syntax
Its syntax is as follows
dataView.buffer;
Example
Try the following example.
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var arrayBuffer = new ArrayBuffer(156); var dataView = new DataView(arrayBuffer); document.write(dataView.buffer.byteLength); </script> </body> </html>
Output
156
Advertisements