Adblock breaks this site

Need help

Discussion in 'Web Programming' started by Drizz, Jul 25, 2017.

  1. Drizz

    Drizz Buying and Selling Things Here and There
    $200 USD Donor New

    Joined:
    Mar 21, 2015
    Posts:
    134
    Referrals:
    0
    Sythe Gold:
    297
    Dolan Duck Two Factor Authentication User Shitting Rainbow Gohan has AIDS
    Need help

    I'm just trying to learn to basics to java script but I'm very confused on which I'm sure is a simple question. Just need a quick answer to what I'm doing wrong. Thank you.

    [​IMG]
     
  2. Viral_

    Viral_ Grand Master

    Joined:
    Jul 21, 2017
    Posts:
    2,483
    Referrals:
    1
    Sythe Gold:
    3,211
    Discord Unique ID:
    827322595988865025
    Need help

    Did you ever get this resolved?

    From my understanding you are doing everything right. I would put a ";" after the return though.
     
  3. 146918496

    146918496 Member
    Banned

    Joined:
    Oct 1, 2017
    Posts:
    29
    Referrals:
    1
    Sythe Gold:
    30
    Need help

    Hello Drizz,

    The first thing issue I can see here is that seeing two commas there,
    it's showing firstname,,lastname (you can see it in the error message),
    when in fact, its firstname,lastname.

    Try removing the one comma you see in the editor.

    Hope this helped,
    If you need any more js help feel free to PM me.
     
    Last edited: Oct 3, 2017
  4. kmjt

    kmjt -.- The nocturnal life chose me -.-
    Banned

    Joined:
    Aug 21, 2009
    Posts:
    14,450
    Referrals:
    8
    Sythe Gold:
    449
    Need help

    The bug was in line 8 which you seemed to resolve (the extra comma). If you pressed "Run Code" again and the error didn't go away, the site is probably bugged.
     
< Cannot connect to SQL Server | NEED HELP >


 
 
Adblock breaks this site