Created
September 17, 2019 02:47
-
-
Save Slackluky/cbfe659a6c9d8d1bdd947664abe78a58 to your computer and use it in GitHub Desktop.
fungsi untuk menjumlahkan 2 input
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 add(param1, param2) { // membuat fungsi "add" dan parameter ("param1" dan "param2") | |
return param1 + param2; // menghasilkan output dari penjumlahan param 1 dan param 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment