node/test/fixtures/deprecated-userland-functio...

7 lines
141 B
JavaScript

const util = require('util');
function deprecatedFunction() {
}
util.deprecate(deprecatedFunction, 'deprecatedFunction is deprecated.')();