Files
30-seconds-of-code/node_modules/underscore.string/quote.js
2019-08-20 15:52:05 +02:00

6 lines
134 B
JavaScript

var surround = require('./surround');
module.exports = function quote(str, quoteChar) {
return surround(str, quoteChar || '"');
};