source: node_modules/core-js-pure/internals/a-data-view.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 244 bytes
Line 
1'use strict';
2var classof = require('../internals/classof');
3
4var $TypeError = TypeError;
5
6module.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.