TGViewer
Channel Public Channel
JavaScript

JavaScript

@javascript

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
Subscribers
31K
Photos
1.2K
Videos
10
Links
901

Showing posts older than #1511 Β· Back to latest

Older Posts 20 shown
Post #1509 6.64K
  • πŸ‘ 11
  • ❀ 7
  • πŸ”₯ 3
  • 🀣 3
  • πŸ€” 1
Post #1508 6.53K
CHALLENGE

const obj = {
a: 1,
then(resolve) {
resolve(this.a);
}
};

obj.then(console.log);
  • πŸ‘ 4
  • ❀ 1
Post #1507 6.97K
πŸ‘©β€πŸ¦― es-toolkit: A Modern JavaScript Utility Library

Think Lodash but newer, faster, smaller, and with tree shaking and built-in TypeScript support. The reference guide shows off the supported functions so far – it’s not quite as extensive as Lodash, but it’s getting there with the goal being β€œto achieve full feature parity with Lodash.”

Viva Republica, Inc
  • πŸ”₯ 7
  • πŸ‘ 6
  • ❀ 4
  • πŸ€” 1
Post #1506 6.64K
  • πŸ‘ 16
  • 🀣 11
  • πŸ”₯ 3
  • ❀ 2
  • 🀩 2
Post #1505 6.66K
CHALLENGE

const array = [1, 2, 3];
array[-1] = 0;

console.log(array.length);
  • ❀ 4
  • πŸ‘ 3
Post #1504 7.1K
πŸŒ• How to Make Complex Chrome Extensions

Spinning up a quick, simple browser extension isn’t that big of a deal nowadays, especially with tools like Extension to kick off a project. Larger extensions are a different story, so it’s neat to learn from the experiences of a team that’s built one.

Nina Torgunakova
  • πŸ‘ 5
  • ❀ 2
  • πŸ”₯ 2
  • 🀣 1
Post #1503 6.73K
  • πŸ‘ 7
  • ❀ 3
  • πŸ”₯ 2
  • 🀣 1
Post #1502 6.77K
CHALLENGE

const obj1 = { a: 1 };
const obj2 = Object.create(obj1);
obj2.b = 2;

const result = 'a' in obj2;

console.log(result);
  • ❀ 5
  • πŸ‘ 4
Post #1500 6.99K
  • πŸ€” 12
  • πŸ‘ 8
  • ❀ 5
  • 🀣 5
Post #1499 6.75K
CHALLENGE

const array = Array.from({ length: 5 }, () => Math.random() > 0.5);

console.log(array);
  • πŸ‘ 8
Post #1496 6.92K
  • πŸ‘ 22
  • ❀ 5
  • πŸ€” 4
  • πŸ”₯ 2
  • 🀩 1
Post #1495 6.74K
CHALLENGE

const func = () => arguments.length;
console.log(func(1, 2, 3));
  • πŸ”₯ 2
Post #1494 7.42K
🌲 What is new in Node.js V22.5

In this article, we will review the notable changes introduced in the new Node.js version:

- node:sqlite module
- add matchesGlob method
- add postessageToThread method

nairihar
  • πŸ‘ 9
  • πŸ”₯ 4
  • ❀ 3
Post #1492 6.74K
  • πŸ€” 19
  • πŸ‘ 8
  • ❀ 5
  • πŸ”₯ 2
Post #1491 7.06K
CHALLENGE

function Foo() {
this.bar = 1;
}

Foo.prototype.bar = 2;

const foo = new Foo();
console.log(foo.bar);
  • πŸ‘ 5
  • πŸ€” 2
Older posts β†’
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook β†’Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 β†’