1const util = require('util'); 2 3function deprecatedFunction() { 4} 5 6util.deprecate(deprecatedFunction, 'deprecatedFunction is deprecated.')(); 7