mirror of
https://github.com/nodejs/node.git
synced 2025-05-06 21:35:34 +00:00

* Favor strictEqual * Use const where appropriate * Modernize where possible PR-URL: https://github.com/nodejs/node/pull/8468 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
7 lines
170 B
JavaScript
7 lines
170 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const dns = require('dns');
|
|
|
|
// Should not segfault, see #6244.
|
|
dns.resolve4('127.0.0.1', common.mustCall(() => { }));
|