skip to main | skip to sidebar

Software Developer

Thursday, June 5, 2008

The use of keyword 'continue' in for 'if' statement

Using continue key word will skip the current action in 'if' statement and continue to do normal work.

var j = 3;
for( var i = 0 ; i < 5 ; i++ ){
if( i == j) continue;
}
Posted by Dracular at 9:28 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2009 (6)
    • ►  February (6)
  • ▼  2008 (26)
    • ►  November (2)
    • ►  September (6)
    • ►  August (2)
    • ►  July (2)
    • ▼  June (12)
      • How to implement the Least Knowledge Principle
      • The Least Knowledge Principle
      • SOLID will make you a solid programmer
      • Positioning dom element
      • Concept of reference in javascript
      • Event in javascript
      • Dom Object in javascript
      • assingment operator " = "
      • Remove child node for parent node
      • Create artificial event to the dom object
      • The use of keyword 'continue' in for 'if' statement
      • Memorise the index for click event in FOR loop
    • ►  May (2)

About Me

Dracular
I like programming, like its malogic. like the way it drives me crazy
View my complete profile
 

Followers