0this 中文文档教程
0this
Transformed arrow functions that accept this biding as their first argument.
example
const zt = require("0this");
const func = zt((thiz, arg1, arg2) => {
console.log(thiz, arg1, arg2);
});
const thiz = {
prop: "prop",
};
func.apply(thiz, [1, 2]);
输出:{ prop: 'prop' } 1 2
0this
Transformed arrow functions that accept this biding as their first argument.
example
const zt = require("0this");
const func = zt((thiz, arg1, arg2) => {
console.log(thiz, arg1, arg2);
});
const thiz = {
prop: "prop",
};
func.apply(thiz, [1, 2]);
outputs: { prop: 'prop' } 1 2
更多
你可能也喜欢
- @0x/contracts-exchange-forwarder 中文文档教程
- @0x/contracts-protocol 中文文档教程
- @1k/md5 中文文档教程
- @1onlinesolution/dws-utils 中文文档教程
- @1point7point4/add 中文文档教程
- @36node/template-wxapp 中文文档教程
- @4rk/staticpages-cli 中文文档教程
- @51npm/freedom-middleware-webpack4 中文文档教程
- @a7md0/angular-skyhook 中文文档教程
- @aacassandra/vue-skeleton-loader 中文文档教程