Tech Junkie Blog - Real World Tutorials, Happy Coding!: JavaScript Array Methods: The Array.reverse() Method

Monday, November 22, 2021

JavaScript Array Methods: The Array.reverse() Method

The Array.reverse() method reverses the order of the array elements.  The easiest way to demonstrate this is to have an array with the numbers 1 to 5.  If we call the Array.reverse() method we should get an array of 5 to 1.  The Array.reverse() does not create a new array, it simply rearranges the array into a new order.  Just keep that in mind when you are using this method.

So let's declare our array from 1 to 5


    <script>
        var numbers = [1, 2, 3, 4, 5];
    </script>

So if we call the numbers.reverse() method we should get an array of 5 to one in the reverse order










3 comments:






  1. error404-store




    - -- Spamming tools --




    1-- cpanel https ssl secure
    2-- shell ssl secure
    3-- web-mail
    4-- smtp
    5-- rdp with send bluster
    6-- scam pages
    7-- ceo or cfo leads




    -- Spy virus slinet Exploits --




    1-- privet rat
    2-- crypter exploits
    3-- privet rdp hosting
    4-- os andriod spy virus
    5-- iso iPhone spy virus
    6-- Nokia spy virus




    - -- scanners brute-force ---




    1-- linux roots
    2-- cpanel scanner
    3-- cpanel bruter
    4-- shell scanner
    5-- smtp scanner
    6-- smtp bruter
    7-- zimbra scanners


    - -------------------


    cpanel,shell,smtp,scampages,sender,ceo or cfo leads,rdp,spyvirus,crypter,exploits,scanners


    Telegram:- @Donsmith000


    icq :- @Donsmith000


    https://error404-store.blogspot.com



    ReplyDelete







  2. Hello all
    am looking few years that some guys comes into the market
    they called themselves hacker, carder or spammer they rip the
    peoples with different ways and it’s a badly impact to real hacker
    now situation is that peoples doesn’t believe that real hackers and carder scammer exists.
    Anyone want to make deal with me any type am available

    Available Services

    ..Wire Bank Transfer all over the world

    ..Western Union Transfer all over the world

    ..Credit Cards (USA, UK, AUS, CAN, NZ)

    ..School Grade upgrade / remove Records

    ..Spamming Tool

    ..keyloggers / rats

    ..Social Media recovery

    .. Teaching Hacking / spamming / carding (1/2 hours course)

    discount for re-seller

    Contact: 24/7

    fixitrogers@gmail.com




    ReplyDelete
  3. Cyberz Phoenix is a Group of Multinational Hackers & Spammers. We make sure by all means necessary that our clients get the best of services on A PAYMENT.
    Rather than send money and trust a criminal to fulfill your deal. You'll get excellent customer service.
    That's a 100% guarantee.

    BEWARE OF FRAUDSTARS
    if you have been a VICTIM,
    Contact:
    Telegram : @Cyberz_Phoenix
    ICQ : @1001829652
    WICKR : @cyberzphoenix for directives.
    Here, it's always a win for you.
    Without any Reasonable doubts, it is no news that Cyberz Phoennix offer one of the best services.

    Amongst others, services we offer are listed as follows :

    Fresh and valid USA SSN leads :
    >> SSN+DOB
    >> SSN+DOB+DL
    >> Premium high score fullz (also included relative info)

    TUTORIALS AVAILABLE FOR
    SPAMMING
    CARDING
    CASHOUTS
    MOBILE DEPOSITS
    >APPLE PAY & ANDROID TAP CASH
    >BANK TRANSFER
    >HOW TO CASHOUT DUMPS+PINS
    >MOBILE DEPOSIT

    >SAFE SOCKS5 (USA)
    >SMTP Linux Root
    -->DUMPS+PINS
    (How to use & create dumps with pins track 1 & 2)

    >SERVER I.P's & proxies in bulk
    >USA EMAILS Combo
    >Fresh Leads for tax returns & w-2 form filling
    >CC's with CVV's (vbv & non-vbv)
    >USA Photo ID'S (Front & back)
    >Payment mode BTC, ETH, LTC, & USDT

    Contact:
    Telegram : @Cyberz_Phoenix
    ICQ : @1001829652
    WICKR : @cyberzphoenix

    ReplyDelete

Search This Blog