Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
Variable calling without the help of apostrophes in JavaScript

I hope it doesn't seem like a pointless question and I'm sorry if I don't give all the details first, but I would like to know if I can call from another file enterUsername(userone), where userone would like to be an object with more many features

enterUsername(userone){
       userone=( 
            cy.get('input[name="Parameter.UserName"]').type('userone'),
            cy.get('input[name="Parameter.Password"]').type('useronepass') 
               )
        return this;
    }

From another file calling directly enterUsername(userone) and not enterUsername('userone')

Please note that I have asked something similar and I have been given solutions that I have applied, but only with a call between apostrophes.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!