Μετάβαση στο περιεχόμενο
Global sound
Oh, That's Why.

Oh, That's Why.

EP10 — Type Coercion — The Basics

· 10 λεπ. · Σεζόν 2 Επεισόδιο 10

Σημειώσεις επεισοδίου

"5" + 3 = "53". "5" - 3 = 2.

JavaScript gets mocked for results like these.

But the behavior follows documented, deterministic rules.

In this episode, Alex Vega explains the three internal conversion rules JavaScript uses — ToString, ToNumber, and ToPrimitive — through the
silent translator analogy.

By the end, every coercion result makes sense.

Oh, That's Why. — JavaScript, finally making sense.

You can find the Medium article here.

#JavaScript, #Web Development, #Programming, #Software Engineering, #Learning to Code

Ιστότοπος: podcasters.spotify.com

Ζωντανά, τελευταία ώρα: 7.344 τραγούδια σε 3.095 σταθμούς σε 121 χώρες

Ανακαλύψτε τον κόσμο μέσα από το ραδιόφωνο

Περισσότεροι τρόποι ανακάλυψης (9)

Ακούσατε κάτι ωραίο; Αποθηκεύστε το ή ανοίξτε το απευθείας στο Spotify.

★ Artist of the week The fastest riser on the radio this week
Your song here? From € 9 per week →
OnlyOldSkoolRadioΣυνέχεια ακρόασης