let num = parseInt(string);. 3. //num will equal 1 as a int. string to number js. javascript by Grepper on Jul 23 2019 Donate Comment.
確定! 回上一頁