JavaScript
32.1K subscribers
1.06K photos
10 videos
33 files
737 links
A resourceful newsletter featuring the latest and most important news, articles, books and updates in the world of #javascript 🚀 Don't miss our Quizzes!

Let's chat: @nairihar
Download Telegram
😱 Labyrinthos.js: A Procedural Generator for Mazes, Etc.

The interactive demo on the homepage will give you the basic idea, but the library implements a variety of algorithms for creating mazes and terrain, including the use of Perlin noise, growing trees, spiral backtracking, and more. GitHub repo.

YANTRA WORKS
Please open Telegram to view this post
VIEW IN TELEGRAM
7👍52🤔2
CHALLENGE

const string = "open sesame";
const result = string.split(" ").map(word => word.length);
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
9👍31
What is the output?
Anonymous Quiz
23%
[4, 7]
12%
[7, 4]
11%
[3, 6]
54%
[4, 6]
11👍66🤔5
🌪⭐️Definitely the owner is a Github Star
Please open Telegram to view this post
VIEW IN TELEGRAM
20🤣18👍6🤩51
Meet Rocket Turtle 👋 the new Node.js mascot 🤩
Please open Telegram to view this post
VIEW IN TELEGRAM
127👍4🤔4
🙋‍♂️ Fix permissions troubles ✌️

Host: Xubuntu 23.10 (mantic)

# id
uid=1000(roman) gid=1000(roman) ...

Dockerfile:

FROM node:21.6.2-bookworm

RUN apt-get update && apt-get install sudo
RUN echo "node:root" | chpasswd && usermod -aG sudo node

USER node

#docker #node #chmod

➡️ Start Explore Backend

💎 Sponsored
Please open Telegram to view this post
VIEW IN TELEGRAM
7👍76
CHALLENGE


const string = "hello world";
const result = string.split("").filter((char, index) => index % 2 === 0).join("");
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
10👍88🤔3
🌪 So You Think You Know Git..

GitHub co-founder Scott Chacon gave a spirited talk at FOSDEM 2024 digging into many interesting parts of git, as well as a few GitHub bits. If you’d prefer to read rather than watch, he has some blog posts covering it all too.

SCOTT CHACON
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1053
CHALLENGE

const string = "abacabadabacaba";
const result = string.split("").reduce((acc, val) => {
acc[val] = (acc[val] || 0) + 1;
return acc;
}, {});
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
👍32
✌️ Union, Intersection, Difference, and More Coming to JavaScript Sets

Set was introduced back in ECMAScript 2015 (a.k.a. ES6) but only had some basic methods built-in. Phil looks at what sets can do and what new features are on the way.

PHIL NASH
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1452
CHALLENGE

const string = "abacabadabacaba";
const result = string.split("a").length - 1;
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
👍10
What is the output?
Anonymous Quiz
35%
8
53%
7
9%
5
4%
4
🤔3617👍8🤣2
🟣🖐 ModularAdmin: Free Bootstrap 4 Dashboard Theme
HTML version


ModularAdmin is an open source dashboard theme built in a modular way. That makes it easy to scale, modify and maintain.

modularcode
Please open Telegram to view this post
VIEW IN TELEGRAM
13👍104🤣2
CHALLENGE

const product = {
name: "Laptop",
price: 1000,
discount: function(percentage) {
return this.price * (percentage / 100);
}
};
const result = product.discount(10);
console.log(result);
Please open Telegram to view this post
VIEW IN TELEGRAM
14👍1
What is the output?
Anonymous Quiz
66%
100
18%
10
13%
1000
4%
1
21👍136🤣2
Nice 🔥

Union, intersection, difference, and more are coming to JavaScript Sets
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1663
CHALLENGE

const x = [1, 2, 3];
const y = x;
y.push(4);
console.log(x);
Please open Telegram to view this post
VIEW IN TELEGRAM
11🤔8👍2
👍25🤔13🤣762