Cross Code
43 subscribers
233 photos
28 videos
1 file
125 links
Everyone has a channel now why not me ig.
Expect dev and gaming stuff.
In-joy

Discussions here - https://t.me/+CkXl8tSd-Ds0YmVk
Download Telegram
Am today years old knowing a pepper 🌶 is a fruit.
What is going on?
Take note
You learn with your hands, you do not learn with your eyes.

#wisdom 🗿
How I test if my mic is working be like:
Lies the `===` operator tell. JS👽

=== ( “strict equality” ) operator has some nuances. The === operator is designed to lie in two cases of special values: NaN and -0.

Consider:


NaN === NaN;                //false
0 === -0 //true



You could use 0 === -0 intentionally in your program for whatever reason. ( I know you lot are weird )

How to avoid deez pitfalls:

1. Use Number.isNaN(..) for NaN checks.
2. Use Object.is(..) for -0 comparisons (and for NaN too).

Object.is(..) in action:

console.log(Object.is('1', 1));
// Expected output: false

console.log(Object.is(NaN, NaN));
// Expected output: true

console.log(Object.is(-0, 0));
// Expected output: false

const obj = {};
console.log(Object.is(obj, {}));
// Expected output: false

Think of Object.is(..) as the “quadruple-equals” ====, the really-really-strict comparison!😉

#JS
Skywalker Leul
https://youtube.com/shorts/lz1O-rUes-s?si=RFJ6gsm8_JL_jemZ
The man was already retired gymnast in 2004. Damn. Their levels to this shit. 🐐🐐🐐
Forwarded from Troll Football
women ☕️
👎1
Biggest W in a while bro. More people need to read this book

#books
Gonna start watching Miss Kobayashi's Dragon Maid
This media is not supported in the widget
VIEW IN TELEGRAM
ASCII is really cool. Wanna do something with it but gotta some skill issues 🥹
changing the font of my terminal to this just for lols
wiw
Yamal🔥🔥🔥🔥🔥🔥