r/JavaScriptTips • • Oct 14 '22

leetcode for frontend?

11 Upvotes

As a frontend developer, its important for you to know about the website "bigfrontend dev"
This website is the leetcode for frontend. There are a bunch of problem solving JavaScript related questions that are tricky and very useful to learn and understand whether its for your project or just conceptually.
I will be making a series on YouTube to solve and explain in depth all the 97 questions present in the 'JavaScript' section of the website. This will significantly make you better in JavaScript and also serve you well during any JavaScript interview.
The first video of the series is out. Check it out
link - https://www.youtube.com/watch?v=0Tfuf34zKQQ


r/JavaScriptTips • • Jul 21 '22

javascript useful 24 snippets

11 Upvotes

While studying javascript, i found several good snippets and put them together on my github. Unfortunately, it's in korean, but you're competent js developers, so you can understand it just by looking at it! if you follow the reference, you can find the original written in English. have a nice day!

https://github.com/le2sky/useful-js-snippets


r/JavaScriptTips • • May 06 '20

Finding max element from an array "The Drake Way" 😁

Post image
11 Upvotes

r/JavaScriptTips • • Jun 25 '19

Use rest operator for the last argument in a function to pass unlimited arguments

Post image
11 Upvotes

r/JavaScriptTips • • Aug 19 '24

Best AI for Javascript

10 Upvotes

I am still finding my footing in javascript.
What would be the best AI to use to enhance my thought process about concepts and speed up the time taken to find answers.


r/JavaScriptTips • • Jul 06 '23

State Of Npm 2023: The Overview

Thumbnail
blog.sandworm.dev
10 Upvotes

r/JavaScriptTips • • Jun 14 '23

Quiz 💡 What will be the output of the following code snippet and why?

Post image
10 Upvotes

A. true B. false


r/JavaScriptTips • • Jun 03 '23

A good vanilla javascript github repo to learn best practices / architecture

10 Upvotes

Can any one be able to recommend a github repo which uses vanilla javascript and adopts best practices using modern approaches for 2023?

I'm not referring to things like 'you don't know JS yet' or 'Javascript algorithims and data structure', what I mean is real world projects, e.g. airbnb, trivago etc. but using vanilla JS? Thanks.


r/JavaScriptTips • • Nov 17 '22

Create JavaScript Objects: 4 Ways You Should Know

10 Upvotes

JavaScript is an object-based language. Except for these six types — string, number, boolean, bigint, symbol, undefined, and null — everything in JavaScript is an object. Yes, even the constructors, functions, and arrays are objects.

So it's important to know different ways of creating objects. Check out the post to learn more.


r/JavaScriptTips • • Oct 31 '22

the first or the secound function ?

Post image
10 Upvotes

r/JavaScriptTips • • Sep 06 '22

Promises in Javascript

Thumbnail
medium.com
10 Upvotes

r/JavaScriptTips • • Aug 01 '22

how do I use javascript by itself?

10 Upvotes

Hi, I know that I can type javascript code inside html using script tag and I can use node.js to run javascript independently. But I wanna know whether there is any other way to code in javascript without needing any other language. Also, is node.js another language? I googled it, but couldn’t quite understand what it does. I am a beginner, so please try to explain in simple words since I don't understand much of the terms


r/JavaScriptTips • • Jul 20 '21

Learn JavaScript by coding Snake game - Part 1

Thumbnail
youtu.be
10 Upvotes

r/JavaScriptTips • • Jun 14 '21

Create your own JavaScript function that can return the maximum value from a list of given numbers. Try following example.

Post image
10 Upvotes

r/JavaScriptTips • • Feb 12 '21

Github projects of JavaScript interview questions ⬇️

10 Upvotes

r/JavaScriptTips • • May 08 '20

What's your favorite JavaScript single LOC (line of code)

Thumbnail
1loc.dev
10 Upvotes

r/JavaScriptTips • • Jul 15 '19

Use console.table() to log arrays, objects and nodelists in an organised view

10 Upvotes

Instead of console.log() you can use:

  • console.table(list) // table of all items and all columns

  • console.table(list, ['columnX', 'columnY', 'columnZ') // table restricted to set columns (very useful for NodeLists)

  • console.table(list, 'columnX') // table restricted to one column

Hit F12 and copy the below into the console:

console.table(document.querySelectorAll('a'), ['innerText', 'href'])


r/JavaScriptTips • • May 08 '25

Why doesn't this work?

Post image
9 Upvotes

I don't understand why this doesnt work on FreeCodeCamp can someone explain please


r/JavaScriptTips • • Jan 15 '25

what did i do wrong

Thumbnail
gallery
9 Upvotes

r/JavaScriptTips • • May 14 '23

10 JavaScript One Liners to save 1000+ hours

Thumbnail
youtube.com
9 Upvotes

r/JavaScriptTips • • Dec 23 '22

keeps showing numbers instead of the names for array.

Post image
9 Upvotes

r/JavaScriptTips • • Nov 02 '22

Suggest some good youtube channel to learn JavaScript from scratch

9 Upvotes

r/JavaScriptTips • • Sep 15 '22

Reddit - too many event listeners. Why the heck so awful code? How to optimize that mess?

Post image
9 Upvotes

r/JavaScriptTips • • Jun 09 '22

Inserting images into an array

Thumbnail
gallery
9 Upvotes