Skip to content

Instantly share code, notes, and snippets.

@fkmhrk
Created May 27, 2022 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fkmhrk/69ed1198c3dcbe6a5d58b21d57ec7e1b to your computer and use it in GitHub Desktop.
Save fkmhrk/69ed1198c3dcbe6a5d58b21d57ec7e1b to your computer and use it in GitHub Desktop.
JavaScript Lesson 1
// 呼ぶと足し算した結果を返す関数となるよう、空欄を埋めてね
function myAdd(a1, a2) {
// 空欄
}
const a = 19
const b = 31
const result = myAdd(a, b)
console.log(result)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment