Showing posts with label pass byreference. Show all posts
Showing posts with label pass byreference. Show all posts

Monday, September 5, 2016


state = false;
changeState(state){
state = true;
}
log(state);

In the above code
  • If we are passing by value, output is false
  • If we are passing by reference, out put is true.

See the simple example :

Popular Posts

Recent Posts

Unordered List

Text Widget

Powered by Blogger.

Popular Posts