JavaScriptONLY icon indicating copy to clipboard operation
JavaScriptONLY copied to clipboard

replace undefined with err x is not defined

Open Dev-anuj opened this issue 4 years ago • 1 comments

// 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.**

Dev-anuj avatar Mar 07 '21 05:03 Dev-anuj

Thanks for pointing this out! Please refer the comments on #4 as well while tackling this.

sohamsshah avatar Mar 07 '21 06:03 sohamsshah