Skip to content

Instantly share code, notes, and snippets.

View singhkumarhemant's full-sized avatar
🎯
Focusing

Hemant Kumar Singh singhkumarhemant

🎯
Focusing
View GitHub Profile
// ES5
var multiply_1 = function(a, b) {
return a * b;
};
// ES6
const multiply_2 = (a, b) => { return a * b };
var a = ['hks','deeps','digvijay'];
for( let i = 0; i < a.length; i++ ) {
console.log(a[i]);
}