Welcome to mirror list, hosted at ThFree Co, Russian Federation.

safe_format.js « lib « normalize-package-data « node_modules « npm « deps - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5fc888e5450cdded80c52182f35af1a40498ba8e (plain)
1
2
3
4
5
6
7
8
9
10
11
var util = require('util')

module.exports = function () {
  var args = Array.prototype.slice.call(arguments, 0)
  args.forEach(function (arg) {
    if (!arg) {
      throw new TypeError('Bad arguments.')
    }
  })
  return util.format.apply(null, arguments)
}