Open Dev-anuj opened 3 years ago
// code example 5
getName(); console.log(x); console.log(getName)
function getName(){ console.log("Namaste JavaScript"); }
Output:
Namaste JavaScript
undefined
f getName(){ console.log("Namaste JavaScript); }
**for x it will come to err x is not defined. please check epi 3 notes
assign it to me i will love to contribute.**
Thanks for pointing this out! Please refer the comments on #4 as well while tackling this.
// code example 5
getName(); console.log(x); console.log(getName)
function getName(){ console.log("Namaste JavaScript"); }
Output:
Namaste JavaScript
undefined
f getName(){ console.log("Namaste JavaScript); }
**for x it will come to err x is not defined. please check epi 3 notes
assign it to me i will love to contribute.**