Skip to content

Instantly share code, notes, and snippets.

View asimkaya's full-sized avatar
🌏
Dev

Asım Emre Kaya asimkaya

🌏
Dev
View GitHub Profile
@asimkaya
asimkaya / callback.js
Last active November 24, 2021 10:35
javascript callback functions
//callback
const callback1 = (n) => {
return n ** 2;
};
function cube(callback, n) {
return callback1(n) * n;
}
@asimkaya
asimkaya / main.js
Last active July 28, 2021 14:22
main
console.log('hi asim')
export function sum(a,b) {
return console.log(a + b);
}