source:
frontend/node_modules/core-js-pure/internals/a-data-view.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 244 bytes | |
| Line | |
|---|---|
| 1 | 'use strict'; |
| 2 | var classof = require('../internals/classof'); |
| 3 | |
| 4 | var $TypeError = TypeError; |
| 5 | |
| 6 | module.exports = function (argument) { |
| 7 | if (classof(argument) === 'DataView') return argument; |
| 8 | throw new $TypeError('Argument is not a DataView'); |
| 9 | }; |
Note:
See TracBrowser
for help on using the repository browser.
