Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num=42;
- txt='13';
- temp=0;
- temp=parseInt(txt);
- num=num + temp;
- // Affichage du résultat
- console.log(num);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement