MCPcopy Create free account
hub / github.com/expressjs/body-parser / createManyParams

Function createManyParams

test/urlencoded.js:783–798  ·  view source on GitHub ↗
(count)

Source from the content-addressed store, hash-verified

781})
782
783function createManyParams (count) {
784 var str = ''
785
786 if (count === 0) {
787 return str
788 }
789
790 str += '0=0'
791
792 for (var i = 1; i < count; i++) {
793 var n = i.toString(36)
794 str += '&' + n + '=' + n
795 }
796
797 return str
798}
799
800function createServer (opts) {
801 var _bodyParser = typeof opts !== 'function'

Callers 1

urlencoded.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected