test/tests-ui/utils/nopProxy.js
2024-08-03 12:27:31 +03:00

7 lines
128 B
JavaScript

export const nop = new Proxy(function () {}, {
get: () => nop,
set: () => true,
apply: () => nop,
construct: () => nop,
});