CHALLENGE
class Parent {
static greet() {
return 'Hello from Parent';
}
}
class Child extends Parent {
static greet() {
return super.greet() + ' and Child';
}
}
const childInstance = new Child();
console.log(childInstance.greet);
π3π€2β€1
What is the output?
Anonymous Quiz
11%
Hello from Parent
71%
Hello from Parent and Child
12%
undefined
7%
TypeError
π₯17π€£12β€6π5π€4
Queens is a puzzle game that combines elements of Minesweeper, chess, and Sudoku.
Fotis Adamakis
Please open Telegram to view this post
VIEW IN TELEGRAM
β€5π3π₯2
CHALLENGE
const array = [1, 2, 3, 4, 5];
const result = array.splice(2, 2, 6, 7);
console.log(array, result);
β€3π2π₯2π€©2
What is the output?
Anonymous Quiz
17%
[1, 2, 3, 6, 7], [3, 4]
45%
[1, 2, 6, 7, 5], [3, 4]
23%
[1, 2, 6, 7, 3, 4, 5], [3, 4]
15%
[1, 2, 6, 7], [3, 4, 5]
π13β€3
Welcome to our fun experiment! Help us create a galaxy of stars on this README.
How to Participate:
βοΈ Star this repository!
π Share it with friends.
Why Star This Repo?
- Be part of a fun community experiment.
- See how many stars we can collect together.
- Enjoy watching this project grow!
Let's turn this README into the most starred repository ever!
Star Now!
Please open Telegram to view this post
VIEW IN TELEGRAM
π€©13π5π€£4π€3β€2π₯2
CHALLENGE
const obj1 = { a: 1 };
const obj2 = Object.create(obj1);
obj2.b = 2;
const result = Object.entries(obj2).map(([key, value]) => key + value);
console.log(result);
π10π€©7β€2π€1
Your enthusiasm, contributions, and support have brought us to this milestone. Letβs keep the energy high as we continue to learn, share, and innovate together. Hereβs to many more achievements on our journey!
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯19π7β€3π€1
CHALLENGE
const array = [1, 2, 3, 4, 5];
const result = array.find(n => n > 3) ? array.every(n => n < 6) : array.some(n => n > 4);
console.log(result);
π8
π10π€6β€2π€©2
CHALLENGE
function* generator() {
yield 'a';
yield* 'bcd';
yield 'e';
}
const gen = generator();
console.log([...gen]);
π€8β€3π₯2π€©1
What is the output?
Anonymous Quiz
11%
['a', 'b', 'c', 'e']
52%
['a', 'bcd', 'e']
8%
['a', 'b', 'c', 'd']
29%
["a", "b", "c", "d", "e"]
π8π€©3π€1
Please open Telegram to view this post
VIEW IN TELEGRAM
β€3π1π₯1
CHALLENGE
const array = [1, 2, [3, 4, [5, 6]]];
const result = array.flat(2).map(n => n * 2);
console.log(result);
π₯5π4π€©1
What is the output?
Anonymous Quiz
15%
[2, 4, 3, 4, 5, 6]
22%
[1, 2, 6, 8, 10, 12]
49%
[2, 4, 6, 8, 10, 12]
14%
[2, 4, [6, 8, [10, 12]]]
π9π€£4β€2π₯1π€©1
This media is not supported in your browser
VIEW IN TELEGRAM
Soon, all websites will start using WebAI because the model will run on your computer, and they won't need to spend resources on it.
Narek Hakobyan
Please open Telegram to view this post
VIEW IN TELEGRAM
π20π€12π₯9β€4π€£4
CHALLENGE
const array = [1, 2, [3, 4, [5, 6]]];
const result = array.flat(2).map(n => n * 2);
console.log(result);
π3
π€£21π€14π9π₯4π€©1
A modern, configurable, and fast template engine promising βthe power of Nunjucksβ and βthe simplicity of EJSβ. Thereβs an online playground if you want to see it in action.
Ben Gubler
Please open Telegram to view this post
VIEW IN TELEGRAM
π4β€2π₯2