EmbraceLife/lastResortJS

Rewrite copyWithin

EmbraceLife opened this issue · 0 comments

The first 3 tests video
up to test 5 video
up to test 6 (finished reading target) video
up to test 9 (finished reading start) video
up to test 10 (one test on end) video
up to test 12 (finished reading end) video
up to test 13 (description para 1 finished) video
all tests are derived from the docs video
Polyfill code passes all the tests above video
Start to rewrite copyWithin using test 1 video
rewrite copyWithin using test 3 video
rewrite copyWithin using test 4 video
rewrite copyWithin using test 2 video
rewrite copyWithin using additional 2 video
rewrite copyWithin using test 5 video
rewrite copyWithin using test 6 video
rewrite copyWithin up to test 9 video
rewrite copyWithin up to test 13 video
rewrite to refactor code on handling negative index video
clean up descriptions for test 1-3 video
add an edge case to deal with negTarget < -array.length video
refactor code for test 4 extreme case and test 5 video
rewrite function to pass 3 more edge cases when start > array.length || start <= -array.length, when end >= array.length, when end <= -array.length (forgot to do recording)
clean descriptions up to feature 8 video
clean up to test 13 video
two more edge cases video
clean up my copyWithin source code video
further organized source code into different sections video
reading the pseudo code and polyfill code part 1, part 2, part 3