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

84
Views
Javascript new feature?

I wanted to know if its new feature or just a working bug

Before I used to do like

HTML :

<div id="identity">I am an demo text</div>

JS :

let iddiv = document.getElementById("identity");
console.log(iddiv)

but Now I can do

console.log(identity)

Withour storing the element in a variable

I just wanted to ask if it is fine !!

console.log(identity)
<div id="identity">I am an demo text</div>

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!