r/JavaScriptTips • • Jul 19 '25

Think You Know JavaScript? These 5 Modern Features Will Surprise You

7 Upvotes

Discover the next-gen JavaScript syntax that’s already changing how pros write cross-platform code.

Read more

Modern JavaScript isn’t just about cleaner syntax — it’s about writing more resilient, portable, and maintainable code. With features like globalThis, import.meta.url, and TextDecoderStream, today’s JavaScript unlocks capabilities that used to require entire libraries. In this final part of our series, we reveal 5 cutting-edge features every serious developer should start using today.


r/JavaScriptTips • • Apr 07 '25

Daniel Röhers Moura dives deep into the Error.isError proposal, a game-changer for reliable error detection across realms in JavaScript. Read more:

Thumbnail
betaacid.co
7 Upvotes

r/JavaScriptTips • • Mar 26 '25

Why is my For Loop not working?

Thumbnail
gallery
7 Upvotes

It is meant to reduce the price by $10 but the price does not get the discount.


r/JavaScriptTips • • Sep 06 '24

Understanding JavaScript Closures With Examples

Thumbnail trevorlasn.com
7 Upvotes

r/JavaScriptTips • • Sep 05 '24

Why does this return false ?

Post image
7 Upvotes

Why does line 1121 return false??? Doesn't make sense at all . Confused !!!


r/JavaScriptTips • • Apr 13 '24

How do i fix this please?

Post image
7 Upvotes

r/JavaScriptTips • • Apr 02 '24

Im a beginner in this world, anyone tips? For study and exercise

7 Upvotes

r/JavaScriptTips • • Jul 29 '23

More than 500 Javascript tips

7 Upvotes

Tips on array's, date, communication, strings, numbers, functions, html and objects.

https://javascript-tips.weebly.com/

All tips sorted and divided in chapters.


r/JavaScriptTips • • Jun 11 '23

HTML & CSS & JavaScript || Interactive navigation bar animation tutorial

Thumbnail
youtube.com
7 Upvotes

r/JavaScriptTips • • Jun 07 '23

Web Scraping with JavaScript

7 Upvotes

When it comes to website scraper, there are many ways to do it like Python, Ruby, c++, java, etc. But there's one language that stands out with its simplicity and ease of website scraping JavaScript. The vast amount of data available on the internet has made web scraping an essential technique for extracting valuable information. With the power of JavaScript and a library called Puppeteer, we can create effective website scrapers to automate the process.

Website scraping is a legal activity as long as it doesn't break any laws regarding the source targets or data itself. However, before getting involved in any sort of scraping activity legal advice is needed.

What is web scraping?

Web scraping is the process of extracting data from websites. It involves programmatically accessing web pages, retrieving their content, and extracting specific information for further use or analysis. Web scraping enables the automated gathering of data from multiple sources on the internet, saving significant time and effort compared to manual data collection.

Some websites may prohibit scraping or have specific limitations on data extraction. Additionally, being mindful of web server load and respectful of website owners' resources is also important when scraping websites.

Uses

  • Web scraping is broadly used for market research to stay competitive, companies need to know their mark and analyze competitors' data.

  • It is crucial for brand protection because it allows gathering data all over the web to ensure that there are no violations in terms of brand security.

  • Travel companies also use web scraping for travel fare aggregation. With the help of web scrapers, they search for deals across multiple websites and publish the results on their websites.

Click here to learn : Step by Step guide to website scraper with examples


r/JavaScriptTips • • Jun 04 '23

10 DSA concepts every JS developer MUST know for coding interviews (Data Structures & Algorithms)

Thumbnail
youtube.com
7 Upvotes

r/JavaScriptTips • • May 29 '23

How can I access an object from outside its scope?

Post image
7 Upvotes

r/JavaScriptTips • • Mar 02 '23

Easy QR Code scanning with Html5-QRCode (from webcam or file)

Post image
7 Upvotes

r/JavaScriptTips • • Jan 12 '23

Conditionally load scripts included in HTML by manipulating the type attribute

Post image
7 Upvotes

r/JavaScriptTips • • Dec 25 '22

Why am i getting undefined type?

Post image
7 Upvotes

r/JavaScriptTips • • Jun 30 '22

How does javascrip shift and unshift work?

7 Upvotes

I saw a picture on the difference between shift and unshift. This is the image https://linksharing.samsungcloud.com/94oIHLFPfnD3

Now I have no knowledge on javascript but it had me thinking.... if unshift ".unshift()" returns the data back into the array. Then where is that shifted data (Deleted)sent when you use ".shift()". Is it stored into ram? Can't be because javascript runs on the web I believe. Database? No I don't have a database and I tried it. Where is the so called "recycle bin" located?


r/JavaScriptTips • • Jun 10 '22

Implement the reduce function in js from scratch | Polyfill

Thumbnail
youtu.be
7 Upvotes

r/JavaScriptTips • • Jun 09 '22

Filter function in Javascript from scratch | Polyfill

Thumbnail
youtu.be
7 Upvotes

r/JavaScriptTips • • May 16 '22

The useActive hook | Custom React hook

7 Upvotes

I implemented a custom useActive hook to determine user activity in a given page. This hook will allow you to perform any action based on whether the user is active (moving, clicking the cursor etc) or not. here's a quick video explanation on how to implement it.
Link: https://www.youtube.com/watch?v=ibcCYL6Kf14


r/JavaScriptTips • • May 02 '22

USeful VSCode extension

7 Upvotes

Hello everyone,

Here is a list of some useful VSCode extensions which may help in web development.

I hope it will help someone. Also if you know of any other good VSCode extension, Please share it. I would be grateful.

Thanks

https://farhan-tanvir.medium.com/10-useful-vs-code-extensions-to-make-life-easier-%E3%83%BCpart-4-8a723820cd95


r/JavaScriptTips • • Feb 27 '22

Wavy Border Animation HTML CSS Only | Border Animation CSS

Thumbnail
youtu.be
7 Upvotes

r/JavaScriptTips • • Feb 06 '22

What is the difference between statement and expression in JavaScript?

7 Upvotes

r/JavaScriptTips • • Jul 11 '21

10 Common Symptoms of Unreadable Code

7 Upvotes

Joel Spolsky, the founder of the Stack Overflow, has a famous saying, “It’s harder to read code than to write it.”

Unfortunately, it’s true. Reading other people’s code is our daily job as software engineers. If you work as an engineer for a long enough time, you’ve probably been pissed off by some poorly readable or even unreadable code.

10 Common Symptoms of Unreadable Code


r/JavaScriptTips • • Jun 24 '21

Javascript Array Learning Poster

7 Upvotes

Hi, we are designers and we enjoy doing infographics and cheatsheet posters. We would like to ask if there's any aspect of programming or language that you would like to see being put into a simplified graphical form? Like what syntax (if any) that you often get confused about?