Message from JavaScript talks

July 2017

— Now try:
123 == "123 js doesn't do this shit ffs"
in console

— 

Language:

Js


Source:
console.log(123 == '123'); // still reasonable
console.log(123 == '123 im a tree'); // should only return true in hell :)


Result:
true
false

— Type safety is comprised of a pre-eval post-lexical analysis step to ensure all types are consistent and no collisions occur

Message permanent page

— See result of {} + []

— Obj + array in js

— Looool

— 0

— Yes, we've all seen the wat talk

— Yeah

— "strict typing" variables can simulate some degree of type safety if applied correctly but it is then nothing more than an eval-time error

Message permanent page

— I love js

— PHP is still way way worse