Last active
December 7, 2017 16:30
-
-
Save pimatco/7e9584a76c728b6c719330ea1b71296d to your computer and use it in GitHub Desktop.
Push values to an Array Function Javascript
This file contains 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
function pushToArray(array, descricao, value){ | |
array.push({descricao: value}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment