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

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