分享至
請問怎樣可以將以下的VBSCRIPT 改做JAVASCRIPT?
for each S3 in S1S=S+cint(S3)Next
for Temp=lbound(QA1) to Ubound(QA1)
next
謝謝
已邀請的邦友 {{ invite_list.length }}/5
let s1 = ['1','2','3','4','5','6','7','8','9','10'] ; let s = 0 ; s1.forEach(s3 => s+=parseInt(s3)) ; console.log(s);
Thanks.
IT邦幫忙