   JavaScript question
  I guess there is some error in this code, can someone help me figure it out.Since I guess Dreamweaver doesn't have debugging for &#106avascript. Thanks. I'm just learning &#106avascript from a book. The output is blank. There is no output.function Sequence(){this.start = -1;this.increment = 1;}//sequence from [s,i]function Sequence(start,increment){this.start = start - 1;this.end = increment;}//to make java 1.1 compatiablenew Sequence();//pre incremenr firstSequence.prototype.next = function(){this.start += this.increment;return this.start;}//pre decrement firstSequence.prototype.prev = function() {this.start -= this.increment;return this.start;}var natural = Sequence(1,1);for(var i = 0; i < 100; ++i){document.write( natural.next() , "<br />");}
  Forget it, its getting late. Made some simple mistakes. Thanks for reading.   