Move some stuff around, update README

This commit is contained in:
dcode
2019-06-03 03:59:30 +02:00
parent adc2f7e26a
commit 27d9ab6c2c
16 changed files with 259 additions and 299 deletions

View File

@ -202,12 +202,12 @@ export class Uint8ClampedArray extends ArrayBufferView {
return FILL<Uint8ClampedArray, u8>(this, value, start, end);
}
sort(comparator: (a: u8, b: u8) => i32 = COMPARATOR<u8>()): Uint8ClampedArray {
return SORT<Uint8ClampedArray, u8>(this, comparator);
sort(fn: (a: u8, b: u8) => i32 = COMPARATOR<u8>()): Uint8ClampedArray {
return SORT<Uint8ClampedArray, u8>(this, fn);
}
subarray(begin: i32 = 0, end: i32 = 0x7fffffff): Uint8ClampedArray {
return SUBARRAY<Uint8ClampedArray, u8>(this, begin, end);
subarray(start: i32 = 0, end: i32 = 0x7fffffff): Uint8ClampedArray {
return SUBARRAY<Uint8ClampedArray, u8>(this, start, end);
}
reduce<T>(