Sign in
apache
/
cordova-js
/
f5a790b434f6ac050da55c57e5fd5770f5a16512
/
.
/
node_modules
/
underscore.string
/
unquote.js
blob: fefba498b74f0768b25656ed2812b42d000d6e8a [
file
] [
log
] [
blame
]
module
.
exports
=
function
unquote
(
str
,
quoteChar
)
{
quoteChar
=
quoteChar
||
'"'
;
if
(
str
[
0
]
===
quoteChar
&&
str
[
str
.
length
-
1
]
===
quoteChar
)
return
str
.
slice
(
1
,
str
.
length
-
1
);
else
return
str
;
};