Comment on Why ++[[]][+[]]+[+[]] = 10 in JavaScriptparentComments−mikeash14yThis has nothing to do with playing fast and loose with data types, and everything to do with implicit conversions between data types. This code would work just as well in a fully statically typed language with the same conversion rules.
Comments
This has nothing to do with playing fast and loose with data types, and everything to do with implicit conversions between data types. This code would work just as well in a fully statically typed language with the same conversion rules.