Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

635006 Views

Latest files of /cody/Khushigupta8/Hotel-Management-Webpage/node_modules/setprototypeof

test/ cody/Khushigupta8/Hotel-Management-Webpage/node_modules/setprototypeof/test/
1 Items
  • index.js
  • README.md cody/Khushigupta8/Hotel-Management-Webpage/node_modules/setprototypeof/README.md
    147 Views
    0 Comments
    # Polyfill for `Object.setPrototypeOf`

    [![NPM Version](https://img.shields.io/npm/v/setprototypeof.svg)](https://npmjs.org/package/setprototypeof)
    [![NPM Downloads](https://img.shields.io/npm/dm/setprototypeof.svg)](https://npmjs.org/package/setprototypeof)
    [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/standard/standard)

    A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at l
    index.js cody/Khushigupta8/Hotel-Management-Webpage/node_modules/setprototypeof/index.js
    136 Views
    0 Comments
    'use strict'
    /* eslint no-proto: 0 */
    module.exports = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array ? setProtoOf : mixinProperties)

    function setProtoOf (obj, proto) {
    obj.__proto__ = proto
    return obj
    }
    LICENSE cody/Khushigupta8/Hotel-Management-Webpage/node_modules/setprototypeof/LICENSE
    185 Views
    0 Comments
    Media file
    index.d.ts cody/Khushigupta8/Hotel-Management-Webpage/node_modules/setprototypeof/index.d.ts
    108 Views
    0 Comments
    declare function setPrototypeOf(o: any, proto: object | null): any;
    export = setPrototypeOf;

    package.json cody/Khushigupta8/Hotel-Management-Webpage/node_modules/setprototypeof/package.json
    111 Views
    0 Comments
    {
    "name": "setprototypeof",
    "version": "1.2.0",
    "description": "A small polyfill for Object.setprototypeof",
    "main": "index.js",
    "typings": "index.d.ts",
    "scripts": {
    "test": "standard && mocha",