Created
July 30, 2015 22:55
-
-
Save hattmarris/6137350f781c4be9d1da to your computer and use it in GitHub Desktop.
addCallToArray
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
var i = 0; | |
var calls = {}; | |
function addCallToArray(termId) { | |
var k = 'call-' + i; | |
calls[k] = termId; | |
i++; | |
} | |
console.log(calls); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment