...
|
...
|
@@ -29,14 +29,14 @@ exports.if_cond = (left, operator, right, options) => { |
|
|
};
|
|
|
|
|
|
exports.escapeType = (value) => {
|
|
|
console.log(value)
|
|
|
let strs = value.split('');
|
|
|
console.log(strs)
|
|
|
if(strs.length === 2){
|
|
|
strs[2] = strs[1];
|
|
|
strs[1] = ' ';
|
|
|
}
|
|
|
console.log(value);
|
|
|
let strs = value.split('');
|
|
|
console.log(strs);
|
|
|
if (strs.length === 2) {
|
|
|
strs[2] = strs[1];
|
|
|
strs[1] = ' ';
|
|
|
}
|
|
|
|
|
|
console.log(strs.join(''));
|
|
|
return strs.join('');
|
|
|
} |
|
|
console.log(strs.join(''));
|
|
|
return strs.join('');
|
|
|
}; |
...
|
...
|
|