mirror of
https://github.com/github/codeql.git
synced 2026-01-07 19:50:22 +01:00
13 lines
271 B
JavaScript
13 lines
271 B
JavaScript
const express = require('express');
|
|
var app = express();
|
|
|
|
function handler(req, res){}
|
|
var boundHandler = handler.bind(x);
|
|
app.use(boundHandler);
|
|
|
|
function getHandler () {
|
|
return function(req, res){};
|
|
}
|
|
var boundHandler = getHandler().bind(x);
|
|
app.use(boundHandler);
|