<! DocType html> <html> <kopf> <meta http-äquiv = "content-type" content = "text/html; charset = utf-8"/> <title> Eine javaScript-Instanz pro Tag-revurent implementieren inverting arrray String </title> <script> var func = function (x function (x), indx, indx, indx, str. str: func (x,-indx, (str + = "" + x [indx]) ;; } var arr = new Array ("Apple", "Banna", "Orange", "Apple2", "Apple3"); var arr1 = arr.lice (0) var arr3 = func (arr1, arr1.length, ""); var arr2 = arr.lice (0) .Reverse (); console.log (arr2); console.log (arr); console.log (arr3); </script> </head> <body> <div id = "date"> </div> </body> </html>