π€£55π€21π6β€2 2π€©1
A major release and significant modernization for the open source WYSIWYG editor. In Announcing Quill 2.0, we learn about Quillβs transition to TypeScript and improved use of modern browser features, but thereβs more going on too, such as its ESM packaging. Want to play with some code? Thereβs a playground.
SLAB INC.
Please open Telegram to view this post
VIEW IN TELEGRAM
π14β€4 4
function Person(name) {
this.name = name;
}
Person.prototype.getName = function() {
return this.name;
}
var person1 = new Person('Alice');
console.log(person1.hasOwnProperty('getName'));
Please open Telegram to view this post
VIEW IN TELEGRAM
π10β€2
π€33π11π€©5β€3 1
oclif is a mature CLI tool development framework maintained by Salesforce. This tutorial goes from zero to something that works.
JOSH CUNNINGHAM
Please open Telegram to view this post
VIEW IN TELEGRAM
π5β€4 4
const clothes = ['shirt', 'socks', 'jacket', 'pants', 'hat']
clothes.length = 0
console.log(clothes[3])
Please open Telegram to view this post
VIEW IN TELEGRAM
π17 3
β€28π€£16π14 8π€3π€©1
This fantastic post is now ten years old, but I revisited it recently and itβs such a joy. Mike Bostock (of D3.js fame) visually guides us through some algorithms using both demos and code.
MIKE BOSTOCK
Please open Telegram to view this post
VIEW IN TELEGRAM
const obj = {};
obj.length = 5;
console.log(obj.length);
Please open Telegram to view this post
VIEW IN TELEGRAM
π10 6
π€£43π19π€14 9
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£60π22π€14 6
const obj = {};
Object.defineProperty(obj, 'length', { get: () => Math.random() });
console.log(obj.length);
Please open Telegram to view this post
VIEW IN TELEGRAM
π6β€3
π€£19π15π€7 4π€©3
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£186π€15 8β€1
const obj = { length: 3 };
console.log(Object.keys(obj).length);
Please open Telegram to view this post
VIEW IN TELEGRAM
π19π€£7π€6β€1
What a treat! Join the creator of Fastify, as well as Node.js TSC member, on an hour long odyssey into the world of streams, a topic in which he specializes. He starts off quite poetically .. a stream is like an array over time .. before quickly getting on to some live coding and demos. This is one in a series of events put on by Platformatic. (75 minutes.)
MATTEO COLLINA
Please open Telegram to view this post
VIEW IN TELEGRAM
π11 2β€1π€1π€©1
const arr = [];
arr[100] = 'a';
console.log(arr.length);
Please open Telegram to view this post
VIEW IN TELEGRAM
π6
π€£46π24π€20β€7π€©2 1
pnpm has long been a fantastic option for folks looking to save disk space and CPU cycles (or for its great monorepo support) while maintaining most of what makes npm great. v9.0 drops Node 16 and 17 compatibility, honors the packageManager field in package.json, makes some default config changes, and adopts Lockfile v9.
PNPM
Please open Telegram to view this post
VIEW IN TELEGRAM
β€7 3π1π€©1