Message from JavaScript discussions

July 2017

— 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

Message permanent page

— 

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

— 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

— But it has inconsistancies