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
899

Showing posts older than #2012 Β· Back to latest

Older Posts 20 shown
Post #2011 6.79K
πŸ•’ JavaScript Temporal is Coming (For Real!)

We first mentioned the Temporal API proposal providing a better way to handle dates and times in JavaScript almost five years ago (in issue 496!) but now it really is almost here. Brian explains its basic concepts and where initial support is starting to appear.

Brian Smith
  • ❀ 8
  • πŸ‘ 3
  • πŸ”₯ 3
Post #2010 6.22K
  • πŸ”₯ 20
  • πŸ‘ 12
  • πŸ€” 5
  • ❀ 4
Post #2009 6.3K
CHALLENGE

let arr = [1, 2, 3, 4, 5];
arr.length = 3;
console.log(arr.length);
console.log(arr);
  • πŸ‘ 9
  • πŸ”₯ 2
  • ❀ 1
Post #2008 7.02K
🌟 Bun 1.2: A Big Step Forward for the Fast JS/TS Runtime

The JavaScriptCore-based Bun continues to up its server-side runtime game with strides forward in Node.js compatibility, performance boosts, and new APIs for interacting with S3 and S3-like object stores as well as Postgres. If you’d prefer to be πŸ˜‰ introduced to Bun 1.2 with a keynote-style video, it's a good watch.

Ashcon Partovi and the Bun Team
  • ❀ 7
  • πŸ‘ 5
  • πŸ”₯ 3
Post #2007 6.03K
  • πŸ‘ 22
  • 🀣 20
  • πŸ€” 12
  • 🀩 1
Post #2006 6.33K
CHALLENGE


let arr = [1, 2, 3, 4, 5];
arr.length = 3;
arr.push(6, 7);
console.log(arr.length);
  • πŸ‘ 3
  • ❀ 1
Post #2005 6.91K
πŸ”₯ After over a decade of Cracking the Coding Interview being the go-to resource for technical interview prep, it’s time for the SEQUEL. I’m thrilled to announce the release of Beyond Cracking the Coding Interview, packed with strategies and tools to tackle tough interview questions. What CtCI introduced BCtCI dives deep into, and adds in loads of new content like triggers and problem-solving boosters.

Gayle McDowell
  • πŸ‘ 9
  • πŸ”₯ 4
  • ❀ 3
Post #2004 5.93K
  • πŸ€” 27
  • πŸ‘ 20
  • πŸ”₯ 5
  • ❀ 4
  • 🀣 2
Post #2003 6.33K
CHALLENGE


const students = [
{ name: 'Alice', age: 20 },
{ name: 'Bob', age: 22 },
{ name: 'Charlie', age: 23 }
];

const studentToFind = { name: 'Bob', age: 22 };

const isIncluded = students.includes(studentToFind);

console.log(isIncluded);
  • πŸ‘ 10
  • ❀ 1
Post #2002 6.84K
πŸ˜†
  • 🀣 113
  • πŸ‘ 8
  • πŸ€” 3
  • ❀ 2
  • πŸ”₯ 2
Post #2000 6.7K
  • πŸ‘ 21
  • ❀ 3
  • πŸ€” 3
  • πŸ”₯ 2
  • 🀣 2
Post #1999 6.56K
CHALLENGE

const numbers = [10, 23, 45, 60, 78];
const isDivisibleByFive = numbers.some(num => num % 5 === 0);

if (isDivisibleByFive) {
console.log('Some numbers are divisible by 5');
} else {
console.log('No numbers are divisible by 5');
}
  • πŸ‘ 11
Post #1998 6.47K
πŸ‘€ ArkType 2.0: Runtime Validation Library

An easy-to-deploy solution for schema validation that can infer TypeScript definitions 1:1 and use them as optimized validators for your data, both at runtime and for immediate type-level feedback in your editor.

ArkType
  • πŸ‘ 9
Post #1997 6.39K
  • πŸ”₯ 16
  • πŸ‘ 5
  • πŸ€” 2
Post #1996 6.34K
CHALLENGE

const numbers = [2, 4, 6, 8, 10];

const allEven = numbers.every(function(num) {
return num % 2 === 0;
});

console.log(allEven);
  • πŸ‘ 11
  • ❀ 2
Post #1995 6.54K
🀨 NodeBB v4.0.0 Released: Node.js Powered Forums

Now almost 12 years old, NodeBB continues to offer a classic forum experience in a modern Node.js-shaped guise. The big update for v4 is support for federation between NodeBB instances and the wider fediverse generally. Note that the open source project (repo) is GPL licensed with NodeBB Inc providing a hosted service.

NodeBB, Inc.
  • πŸ‘ 7
  • ❀ 2
  • πŸ”₯ 1
Post #1994 6.41K
  • πŸ€” 16
  • πŸ‘ 12
  • 🀣 8
  • ❀ 3
Post #1993 6.58K
CHALLENGE

var obj = {
a: 10,
b: 20
};

with (obj) {
var result = a + b;
}

console.log(result);
  • πŸ”₯ 6
  • πŸ‘ 2
  • πŸ€” 2
Post #1992 6.96K
  • πŸ€” 27
  • πŸ‘ 7
  • ❀ 5
  • πŸ”₯ 1
  • 🀩 1
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 β†’