Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- JavaScript Algorithms and Data Structures
- Basic JavaScript
- Compound Assignment With Augmented Division
- The /= operator divides a variable by another number.
- myVar = myVar / 5;
- Will divide myVar by 5. This can be rewritten as:
- myVar /= 5;
- Convert the assignments for a, b, and c to use the /= operator.
- let a = 48;
- let b = 108;
- let c = 33;
- // Only change code below this line
- a = a / 12;
- b = b / 4;
- c = c / 11;
- for more:http://besturl.link/FOre5k
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement