21
phuck
17d

Thanks, bruv

Comments
  • 1
    Do you know that you have the option to not let JS do any type conversions for you?
  • 1
    Convert what?
  • 1
    Duck typing is retarded

    So thanks JavaScript
  • 0
  • 0
    @Lor-inc I don't know, maybe.
  • 1
    @kamen I don't think so. "use strict" will still allow type conversions and as far as I know there's no other restriction command.
  • 0
    @Lor-inc I'm not talking about intentionally restricting yourself, I'm talking about doing the conversions yourself when you need to instead of letting JS do something you might not expect. Imagine TypeScript with explicit types everywhere - remove the typings everywhere, leave the rest of the code as is, and you have something pretty predictable.
Add Comment