Swapping Values Using Arithmetic Operations in JavaScript. // Get the sum a = a + b; // a = 12 // Reasign b with the value of a b = a - b; // b = 12 - 7
Create, curate, teach.
Full-stack developer with experience using React, Spring Boot, MySQL, PostgreSQL and more. I like solving problems and building things people will love to use.
Markdown supported · ⌘↵ to post
No responses yet.