mirror of
https://github.com/bvanroll/rpiRadio.git
synced 2025-08-31 13:02:44 +00:00
Initial Commit
This commit is contained in:
15
ProjectNow/NodeServer/node_modules/saslprep/lib/util.js
generated
vendored
Normal file
15
ProjectNow/NodeServer/node_modules/saslprep/lib/util.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict'
|
||||
|
||||
function range(from, to) {
|
||||
// TODO: make this inlined.
|
||||
const list = Array.apply(null, new Array(to - from + 1))
|
||||
|
||||
for(let i = 0; i < list.length; ++i) {
|
||||
list[i] = from + i
|
||||
}
|
||||
return list
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
range
|
||||
}
|
Reference in New Issue
Block a user