6 lines
134 B
JavaScript
6 lines
134 B
JavaScript
![]() |
var surround = require('./surround');
|
||
|
|
||
|
module.exports = function quote(str, quoteChar) {
|
||
|
return surround(str, quoteChar || '"');
|
||
|
};
|