Last active
December 12, 2017 11:05
-
-
Save Arieg419/86a7d5dbb73d32cb74b456e12fcccce4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let a = 4; | |
let b = 5; | |
let c = 6; | |
const updateTwoVars = (a, b, c) => [b++, a * b]; | |
const updateRes = updateTwoVars(a,b,c); | |
b = updateRes[0] | |
c = updateRes[1] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment