Avinash KondetiinWWSTAY ENGINEERINGJavaScript — call-by-sharingIn JavaScript, all variables refers to values. So, when we pass a variable to a function, the argument is a value which is itself a…Mar 17, 20161Mar 17, 20161