inspect-js

inspect-js/has-proto

Does this environment have the ability to set the [[Prototype]] of an object on creation with `__proto__`?

JavaScript
6
3
MIT License

This package detects whether the current JavaScript environment supports setting an object's prototype using `__proto__` during object creation. It exports different modules to check for `__proto__` support as an accessor or mutator, and provides example usage for testing these capabilities. The project is intended for developers who need to determine `__proto__` functionality across different JavaScript environments.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of inspect-js/has-proto

Account's avatar
If available, the `Object.prototype.__proto__` accessor and mutator, call-bound
Account's avatar
A CLI tool for arethetypeswrong.github.io
Account's avatar
My shareable eslint config
Account's avatar
My personal tsconfig(s), so my open source projects can share them.
Account's avatar
TypeScript definitions for gopd
Account's avatar
TypeScript definitions for tape
Account's avatar
Command line tool for generating a changelog from git tags and commit history
Account's avatar
Convert encodings, uses iconv-lite
Account's avatar
Evaluates javascript code blocks from markdown files.
Account's avatar
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
Account's avatar
Detect if we were run as a result of `npm publish`
Account's avatar
Command line tool for creating or updating a .npmignore file based on .gitignore.
Account's avatar
An ES2015 mostly-spec-compliant `Reflect.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible
Account's avatar
Ensure that when you `npm publish`, the "latest" tag is only set for the truly latest version.
Account's avatar
tap-producing test harness for node and browsers
Account's avatar
TypeScript is a language for application scale JavaScript development

Support the repos that depend on this repository

Top contributors

ljharb's profile
ljharb
32 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet