Skip to content

Variables not defined well for ES6 #14

@jidol

Description

@jidol

Changes required:

As you can see maxdeep and ix need to be setup a little better. No big deal.

function pp() {
this.shift = ['\n']; // array of shifts
this.step = ' ', // 2 spaces
this.maxdeep = 100; // nesting level
var ix = 0;

// initialize array with shifts //
for(ix=0;ix<this.maxdeep;ix++){
	this.shift.push(this.shift[ix]+this.step); 
}

};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions