Skip to content

Instantly share code, notes, and snippets.

@basyusuf
Created November 25, 2020 20:11
Show Gist options
  • Save basyusuf/29fca24b380c79d1e3be8ffbcd33e92a to your computer and use it in GitHub Desktop.
Save basyusuf/29fca24b380c79d1e3be8ffbcd33e92a to your computer and use it in GitHub Desktop.
JSDoc example
/** @function kullaniciOlustur
* @param {string} isim - Kullanıcı ismi
* @param {string} soyisim - Kullanıcı soyismi
* @param {number} yas - Kullanıcı yaşı
* @return Kullanıcı oluşturuldu
* @see https://github.com/basyusuf
*/
const kullaniciOlustur = (isim, soyisim, yas) => {
console.log(isim);
console.log(soyisim);
console.log(yas);
return "Kullanıcı oluşturuldu"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment