crop_rotate
Run
<!DOCTYPE html> <html> <body> <h2>JavaScript Arrays Methods</h2> <script> let letters = ['a', 'b', 'c', 'd', 'e']; document.write("<b>" + letters.copyWithin(0, 3, 4) + "</b>"); /* old Elements = ['a', 'b', 'c', 'd', 'e'] copy to index 0 the element at index 3 */ </script> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxib2R5Pg0KDQo8aDI+SmF2YVNjcmlwdCBBcnJheXMgTWV0aG9kczwvaDI+DQoNCjxzY3JpcHQ+DQpsZXQgbGV0dGVycyA9IFsnYScsICdiJywgJ2MnLCAnZCcsICdlJ107DQpkb2N1bWVudC53cml0ZSgiPGI+IiArIGxldHRlcnMuY29weVdpdGhpbigwLCAzLCA0KSArICI8L2I+Iik7DQovKg0Kb2xkIEVsZW1lbnRzID0gIFsnYScsICdiJywgJ2MnLCAnZCcsICdlJ10NCmNvcHkgdG8gaW5kZXggMCB0aGUgZWxlbWVudCBhdCBpbmRleCAzIA0KKi8NCjwvc2NyaXB0Pg0KDQo8L2JvZHk+DQo8L2h0bWw+