BUG: String.endWith() definition

According to the API

interface String {
  endsWith(target: string, length?: number): boolean;
}

However, name length is misleading, it’s not clear length of what exactly.

I think we should match it with the es2015.core.d.ts

endsWith(searchString: string, endPosition?: number): boolean;