智慧水务管理系统 - 精河县供水工程综合管理平台
bot_dev1 85df71fc28 feat: 实现供水运营专题大屏BI可视化 hace 4 días
..
.github feat: 实现供水运营专题大屏BI可视化 hace 4 días
test feat: 实现供水运营专题大屏BI可视化 hace 4 días
.eslintrc feat: 实现供水运营专题大屏BI可视化 hace 4 días
.nycrc feat: 实现供水运营专题大屏BI可视化 hace 4 días
CHANGELOG.md feat: 实现供水运营专题大屏BI可视化 hace 4 días
LICENSE feat: 实现供水运营专题大屏BI可视化 hace 4 días
README.md feat: 实现供水运营专题大屏BI可视化 hace 4 días
get.d.ts feat: 实现供水运营专题大屏BI可视化 hace 4 días
get.js feat: 实现供水运营专题大屏BI可视化 hace 4 días
package.json feat: 实现供水运营专题大屏BI可视化 hace 4 días
set.d.ts feat: 实现供水运营专题大屏BI可视化 hace 4 días
set.js feat: 实现供水运营专题大屏BI可视化 hace 4 días
tsconfig.json feat: 实现供水运营专题大屏BI可视化 hace 4 días

README.md

dunder-proto Version Badge

github actions coverage License Downloads

npm badge

If available, the Object.prototype.__proto__ accessor and mutator, call-bound.

Getting started

npm install --save dunder-proto

Usage/Examples

const assert = require('assert');
const getDunder = require('dunder-proto/get');
const setDunder = require('dunder-proto/set');

const obj = {};

assert.equal('toString' in obj, true);
assert.equal(getDunder(obj), Object.prototype);

setDunder(obj, null);

assert.equal('toString' in obj, false);
assert.equal(getDunder(obj), null);

Tests

Clone the repo, npm install, and run npm test