DEV Community

Cover image for Advanced JavaScript Concepts | Revised Version for Jr Dev's

Advanced JavaScript Concepts | Revised Version for Jr Dev's

Syed Muhammad Ali Raza on September 29, 2024

JavaScript Revised Version 1. let, var, and const var function test() { console.log(x); var x = 10; } ...
Collapse
 
djackson1 profile image
DJack • Edited

Bro forgot the parenthesis in the first example. Swear this was js not python 🤣

100% AI generated

I have reported the user for using AI tooling to write non professional articles, please do the same so we can sort out the garbage from actually useable posts.

Collapse
 
toriningen profile image
Tori Ningen

permit keyword is my second favorite after kermit keyword.

Collapse
 
pkkashyap profile image
Pradeep Kumar

Permit keyword works ?
And Kermit keyword uses?

Collapse
 
click2install profile image
click2install

Advanced concepts in how not to write an article.

Collapse
 
jhasselbring profile image
Jan Mykhail Hasselbring

Damn, did AI write this?

Collapse
 
retakenroots profile image
Rene Kootstra

I do not fear AI if this is the quality it produces. For the 'author' do not post on topics you do not understand. As clearly the example code is wrong.

Collapse
 
diegost23 profile image
DiegoSt23

Please don't make posts about things you don't understand.

What a useless and misleading article.

Collapse
 
philipjc profile image
Philip J Cox • Edited

Some good points. Closure, can also be created and maintained from within a function, not only outside variables. Async could have also been added to this list.

Collapse
 
brysenrom profile image
Brysen-Rom

very informative

Collapse
 
christopher_winter profile image
Christopher Winter

What the...

Collapse
 
razmi0 profile image
razmi0

Advanced author tip : close your eyes and copy paste that code

Collapse
 
zunaidalam profile image
Zunaid Alam

Coding is !hard. 😃

Collapse
 
michal-so profile image
master029009

why we use IIFI?

Collapse
 
abrahamn profile image
Abraham

Sometimes a block of code can only neatly exist inside a function, and immediately thereafter require execution. You see this often in reactjs. Where an async function needs to be executed inside a sync function

Some comments have been hidden by the post's author - find out more