mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
286 B
JavaScript
15 lines
286 B
JavaScript
'use strict';
|
|
|
|
var _ = require('lodash');
|
|
var express = require('express');
|
|
var router = new express.Router();
|
|
var rootRoute = router.route('foobar');
|
|
|
|
rootRoute.post(function(req, res) {
|
|
problem(req.body); // $ Source
|
|
});
|
|
|
|
function problem(val) {
|
|
_.chunk(val, 2); // $ Alert
|
|
}
|