MCPcopy Index your code
hub / github.com/nodejs/node / defineOperation

Function defineOperation

lib/internal/util.js:599–607  ·  view source on GitHub ↗
(target, name, method)

Source from the content-addressed store, hash-verified

597
598// https://heycam.github.io/webidl/#define-the-operations
599function defineOperation(target, name, method) {
600 ObjectDefineProperty(target, name, {
601 __proto__: null,
602 writable: true,
603 enumerable: true,
604 configurable: true,
605 value: method,
606 });
607}
608
609// https://heycam.github.io/webidl/#es-interfaces
610function exposeInterface(target, name, interfaceObject) {

Callers 2

node.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected