Please open Telegram to view this post
VIEW IN TELEGRAM
π5β€4
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£84π6π€©6π₯2β€1
CHALLENGE β
const arr = [1, 2, 3];
arr[-1] = 10;
console.log(arr.length, arr[-1]);
Please open Telegram to view this post
VIEW IN TELEGRAM
β€9π4
π14π₯7β€6π€4
Many developers prefer to eschew complex, modern build processes and use JavaScript in a more old-school way. You can definitely get by without a build system, and Julia explores some ways to import libraries in such a setup.
Julia Evans
Please open Telegram to view this post
VIEW IN TELEGRAM
π7π₯4β€2
CHALLENGE β
const x = (() => {
try {
return 10;
} finally {
return 20;
}
})();
console.log(x);
Please open Telegram to view this post
VIEW IN TELEGRAM
π3β€1
π20π€£17π€9β€5π₯3π€©3
If youβve got a variety of elements and you want users to be able to select them in groups, individually, or even in multiple groups, this lets you offer that functionality easily. Can be used in a vanilla fashion or with integrations for P/React or Vue.js.
Simon Reinisch
Please open Telegram to view this post
VIEW IN TELEGRAM
π10π₯3β€1
CHALLENGE β
const obj = {};
Object.defineProperty(obj, "prop", {
value: 42,
writable: false
});
obj.prop = 100;
console.log(obj.prop);
Please open Telegram to view this post
VIEW IN TELEGRAM
β€1
π18β€4π€©4π₯1
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£48β€4π3π₯3
Please open Telegram to view this post
VIEW IN TELEGRAM
π6β€4π₯3
CHALLENGE β
const arr = [1, 2];
arr.length = 0;
console.log(arr[0]);
Please open Telegram to view this post
VIEW IN TELEGRAM
π1
π17π€£15β€4π€©4π₯1
Please open Telegram to view this post
VIEW IN TELEGRAM
π€8π2π₯1
CHALLENGE β
const obj = { a: 1 };
Object.seal(obj);
obj.b = 2;
console.log(obj.b);
Please open Telegram to view this post
VIEW IN TELEGRAM
π€£11β€5π3
π₯15π8π€£4β€2π€©2
Work with complex numbers, fractions, units, matrices, symbolic computation, etc. A long standing library now, but continuing to get frequent updates. GitHub repo.
Jos de Jong
Please open Telegram to view this post
VIEW IN TELEGRAM
β€10π₯2π1
CHALLENGE β
console.log(0.1 + 0.2 === 0.3);
Please open Telegram to view this post
VIEW IN TELEGRAM
π14π€7β€3
π€£38π€26π8π₯5β€3
Did you know Oracle formally owns the βJavaScriptβ trademark? There have been a few efforts to change this over the years (most recently via this open letter) but Oracle isnβt listening. The Deno team has now formally filed a petition to cancel the trademark which Deno claims is fradulent because Oracle used screenshots of Node.js, a project Oracle doesnβt even own, as evidence of the trademarkβs use.
Deno
Please open Telegram to view this post
VIEW IN TELEGRAM
β€6π6π₯5