Advertisement
Guest User

Untitled

a guest
Oct 5th, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //class Array
  2. private function set_length(newLength:*, altLength:uint) : *
  3. {
  4.  if(newLength is uint)
  5.  {
  6.     this.length = newLength;
  7.  }
  8.  else if(bugzilla(661330))
  9.  {
  10.     Error.throwError(RangeError,2108,newLength);
  11.  }
  12.  else
  13.  {
  14.     this.length = altLength;
  15.  }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement