معرفی شرکت ها


object.getprototypeof-1.0.4


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible
ویژگی مقدار
سیستم عامل -
نام فایل object.getprototypeof-1.0.4
نام object.getprototypeof
نسخه کتابخانه 1.0.4
نگهدارنده ['ljharb']
ایمیل نگهدارنده ['ljharb@gmail.com']
نویسنده Jordan Harband
ایمیل نویسنده ljharb@gmail.com
آدرس صفحه اصلی git+https://github.com/es-shims/Object.getPrototypeOf.git
آدرس اینترنتی https://github.com/es-shims/Object.getPrototypeOf
مجوز MIT
# object.getprototypeof <sup>[![Version Badge][npm-version-svg]][package-url]</sup> [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url] [![npm badge][npm-badge-png]][package-url] An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible - specifically, anything with `__proto__` support, or ES6. Built-in types will also work correctly in older engines. This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://www.ecma-international.org/ecma-262/5.1/). ## Example ```js var getPrototypeOf = require('object.getprototypeof'); var assert = require('assert'); assert.equal(getPrototypeOf(true), Boolean.prototype); assert.equal(getPrototypeOf(42), Number.prototype); assert.equal(getPrototypeOf(''), String.prototype); assert.equal(getPrototypeOf(/a/g), RegExp.prototype); assert.equal(getPrototypeOf(new Date()), Date.prototype); assert.equal(getPrototypeOf(function () {}), Function.prototype); assert.equal(getPrototypeOf([]), Array.prototype); assert.equal(getPrototypeOf({}), Object.prototype); ``` ```js var getPrototypeOf = require('object.getprototypeof'); var assert = require('assert'); /* when Object.getPrototypeOf is not present */ delete Object.getPrototypeOf; var shimmed = getPrototypeOf.shim(); assert.equal(shimmed, getPrototypeOf.getPolyfill()); assert.equal(Object.getPrototypeOf(true), Boolean.prototype); assert.equal(Object.getPrototypeOf(42), Number.prototype); assert.equal(Object.getPrototypeOf(''), String.prototype); assert.equal(Object.getPrototypeOf(/a/g), RegExp.prototype); assert.equal(Object.getPrototypeOf(new Date()), Date.prototype); assert.equal(Object.getPrototypeOf(function () {}), Function.prototype); assert.equal(Object.getPrototypeOf([]), Array.prototype); assert.equal(Object.getPrototypeOf({}), Object.prototype); ``` ```js var getPrototypeOf = require('object.getprototypeof'); var assert = require('assert'); /* when Object.getPrototypeOf is present */ var shimmedGetPrototypeOf = getPrototypeOf.shim(); assert.equal(shimmedGetPrototypeOf, Object.getPrototypeOf); assert.equal(Object.getPrototypeOf([]), Array.prototype); ``` ## Tests Simply clone the repo, `npm install`, and run `npm test` [package-url]: https://npmjs.org/package/object.getprototypeof [npm-version-svg]: https://versionbadg.es/es-shims/Object.getPrototypeOf.svg [deps-svg]: https://david-dm.org/es-shims/Object.getPrototypeOf.svg [deps-url]: https://david-dm.org/es-shims/Object.getPrototypeOf [dev-deps-svg]: https://david-dm.org/es-shims/Object.getPrototypeOf/dev-status.svg [dev-deps-url]: https://david-dm.org/es-shims/Object.getPrototypeOf#info=devDependencies [npm-badge-png]: https://nodei.co/npm/object.getprototypeof.png?downloads=true&stars=true [license-image]: https://img.shields.io/npm/l/object.getprototypeof.svg [license-url]: LICENSE [downloads-image]: https://img.shields.io/npm/dm/object.getprototypeof.svg [downloads-url]: https://npm-stat.com/charts.html?package=object.getprototypeof [codecov-image]: https://codecov.io/gh/es-shims/Object.getPrototypeOf/branch/main/graphs/badge.svg [codecov-url]: https://app.codecov.io/gh/es-shims/Object.getPrototypeOf/ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Object.getPrototypeOf [actions-url]: https://github.com/es-shims/Object.getPrototypeOf/actions


نیازمندی

مقدار نام
^1.0.2 call-bind
^1.1.4 define-properties
^1.20.4 es-abstract
^1.0.2 reflect.getprototypeof


زبان مورد نیاز

مقدار نام
19.0.1 Npm


نحوه نصب


نصب پکیج tgz object.getprototypeof-1.0.4:

    npm install object.getprototypeof-1.0.4.tgz