crop_rotate
Run
<!DOCTYPE html> <html> <body> <h2>JavaScript Arrays</h2> <script> let courses = ['HTML', 'CSS', 'JavaScript', 'PHP', 'MYSQL']; document.write("<b>" + courses.copyWithin(1, 2, 3) + "</b>"); /* old Elements = ['HTML', 'CSS', 'JavaScript', 'PHP', 'MYSQL'] copy to index 1 the element at index 2 */ </script> </body> </html>
PCFET0NUWVBFIGh0bWw+DQo8aHRtbD4NCjxib2R5Pg0KDQo8aDI+SmF2YVNjcmlwdCBBcnJheXM8L2gyPg0KDQo8c2NyaXB0Pg0KbGV0IGNvdXJzZXMgPSBbJ0hUTUwnLCAnQ1NTJywgJ0phdmFTY3JpcHQnLCAnUEhQJywgJ01ZU1FMJ107DQpkb2N1bWVudC53cml0ZSgiPGI+IiArIGNvdXJzZXMuY29weVdpdGhpbigxLCAyLCAzKSArICI8L2I+Iik7DQovKg0Kb2xkIEVsZW1lbnRzID0gICBbJ0hUTUwnLCAnQ1NTJywgJ0phdmFTY3JpcHQnLCAnUEhQJywgJ01ZU1FMJ10NCmNvcHkgdG8gaW5kZXggMSB0aGUgZWxlbWVudCBhdCBpbmRleCAyIA0KKi8NCjwvc2NyaXB0Pg0KDQo8L2JvZHk+DQo8L2h0bWw+