Skip to content

Codebase

User-friendly code tutorials

  • Javascript
  • CSS
  • PHP
  • WordPress
  • Miscellaneous
Codebase

Tag: function

Closures continued

Previously I gave a brief introduction to closures in Javascript. Here I will attempt to provide more understanding on this topic. I will lead into the topic of closures by beginning with a look at an infamous problem with for loops in Javascript. I will also briefly touch on Immediately Invoked Function Expressions (IIFEs).

Continue reading “Closures continued”

Author adminPosted on January 30, 2016January 30, 2019Categories JavascriptTags closure, function, IIFE

Returning in Javascript and Intoduction to Closures

Functions return a value of undefinded by default, unless we explicitly tell it to return another value.

How do we do that?

Continue reading “Returning in Javascript and Intoduction to Closures”
Author adminPosted on January 20, 2016September 8, 2022Categories JavascriptTags closure, function, return

Categories

  • CSS
  • Javascript
  • PHP
  • Python
  • SQL
  • Uncategorized
  • WordPress

Archives

  • October 2022
  • September 2022
  • December 2018
  • August 2018
  • May 2018
  • April 2018
  • January 2018
  • December 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • March 2017
  • September 2016
  • April 2016
  • February 2016
  • January 2016
  • January 2015
  • April 2014
  • February 2014
  • January 2014
  • December 2013
  • September 2013
  • April 2013
  • May 2012
  • March 2012
  • January 2012

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
  • Javascript
  • CSS
  • PHP
  • WordPress
  • Miscellaneous
Codebase Proudly powered by WordPress