loopback-datasource-juggler/lib/adapters/neo4j-lib/node_modules/http-status/samples/api.js

8 lines
166 B
JavaScript
Executable File

var HTTPStatus = require('http-status');
// Print "Internal Server Error"
console.log(HTTPStatus[500]);
// Print 500
console.log(HTTPStatus.INTERNAL_SERVER_ERROR);