stringify如何使用
源码:
var numbers = smstext.fetchNumber();
console.log(numbers);
var sCaptcha = '';
if(numbers.length > 0){
sCaptcha = numbers.slice(1,1).stringify();
}
报错:
19 14:27:37.383 sms coming15372418426: 测试短信好多好多123455
20 14:27:37.384 debug JSString fetchNumber str:15372418426: 测试短信好多好多123455
21 14:27:37.385 debug JSString find start:0
22 14:27:37.386 debug JSString find :15372418426
23 14:27:37.386 debug JSString find start:21
24 14:27:37.387 debug JSString find :123455
25 14:27:37.389 error FunctionExpr NoSuchMethodException-- obj:com.libra.sar.robot.jsengine.var.object.Console@d518b05 item:log
26 14:27:37.397 error FunctionExpr NoSuchMethodException-- obj:[1.5372418426E10,123455.0] item:stringify