I will always believe in JavaScript

Joined April 2022
59 Photos and videos
For real?
Run your own Netflix. Stream your library privately, for free, forever.
30
Edberaga retweeted
Run your own Netflix. Stream your library privately, for free, forever.
26
256
3,459
164,460
Just "return ( a === 0)" Would be enough
3 Aug 2025
The ternary operator is very cool ๐Ÿ˜Ž๐Ÿ‘Œ
49
Edberaga retweeted
FREE FREE FREE 9 FREE Books on DSA in Java, C, C , Python:
10
165
1,067
105,660
14 Jan 2025
zenonia 2, DnD baldur gate 1, Wizardry series
This is a very interesting question, it could be any game?
54
Edberaga retweeted
This is a very interesting question, it could be any game?
4,615
183
2,777
424,059
23 Dec 2024
1K damage~ Ben be smacking those fishes in Port Town. #WizDaphneAdventureMemories
1
89
Holy shit this is a game changer
htmlrev.com is the best choice to find HTML templates and UI components. Built by @webdevluc. Check it out!
44
Day 69: String Primitives and String Object This is string primitive const str1 = "Hello"; const str2 = String("World"); const str3 = `Ed`; console.log(typeof str1, typeof str2, typeof str3); //true true true const str4 = new String("..."); comsole.log(typeof str4); //object
1
42
Edit: console.log(typeof str1, typeof str2, typeof str3); //string string string
24
Edberaga retweeted
If you know these 15 websites you could go to prison...
39
28
106
65,863
Day 68: Learn the better way to handle errors at fetching API. Instead of using try catch block we can always use ?= Operator. Explanation at the comments. #javascript
4
1
36
This operator ?= Is called Safe Assignment Operator. Used to check if the function got error or success. If it errors it will return for the first value and the second value null. If not error it will return the second value while the first null
22
After looking from the first comment, this is how we use with ?= Operator. const [error, data] ?= await fetch(link).json(); if(error) { console.log(error); } else { console.log("Data succesfully fetched: ", data); } This will do the same of the first comment function
22
This is the usual function to fetch api link async function fetchData() { const res = await fetch(link); try { const data = await res.json(); return data; } catch(err) { console.log("Error: ", err); } }
22
27 Oct 2024
Software engineering is a really tiring career...
1
19
25 Oct 2024
Day 67: Learn about the XOR operation The XOR operation commonly used in algorithm to specify unique values. XOR operation will return 1 if the values are different, but if it's the same it will return 0. for ex: 5 ^ 5 = 0 5 ^ 0 = 5
14
Edberaga retweeted
20 Oct 2024
The Job Interview Cheat Sheet๐Ÿ”ฅ
26
14
79
21,121
20 Oct 2024
Day 66: SQL training we can do this SELECT p.pname, p.price, c.cname FROM products AS p INNER JOIN categories AS c ON p.cid = c.id; To this: SELECT p.pname, p.price, c.cname FROM products AS p, categories AS c WHERE p.cid = c.id;

29
14 Oct 2024
Day 65: learn about IIFE Which is stand as Immediately Invoked Function Expression. Its a way to declare a function and immediately execute it. Example: (function () { .... })() (function () { .... }())
32