7 lines
125 B
Markdown
7 lines
125 B
Markdown
|
var hasInternet = require('hasinternet')
|
||
|
|
||
|
hasInternet(answer)
|
||
|
|
||
|
function answer(err, internet) {
|
||
|
console.log(err, internet)
|
||
|
}
|