Never ending outline.

Bug Reports and Fixes
Post Reply
iBiryukov
Posts: 1
Joined: Fri Jun 12, 2009 5:32 pm

Never ending outline.

Post by iBiryukov » Fri Jun 12, 2009 5:37 pm

When I extend the primitive's prototype object I get a never ending outline.
Example

Code: Select all

 
/**
  * Removes leading and ending spaces from the string
  * @return {String}
  */
 String.prototype.trim = function() {
 	return this.replace(/^\s+|\s+$/g, '');
 }
I get a never ending outline tree for this code. See image.
i42. tinypic. com/ao8cab.jpg

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests