3 ms·
Maybe I’m misunderstanding, could you give me an example? Do you mean the fact that it can imply a variables type from assignment? Edit: I’m plainly wrong, mi
by purple-leafy 2y ago
Maybe I’m misunderstanding, could you give me an example?
Do you mean the fact that it can imply a variables type from assignment?
Edit: I’m plainly wrong, mishmashing words.
Yes JavaScript has a dynamic type system
- javcasas 2y agoType systems don't deal with variables. Type systems deal with interactions between values. Maybe those values are inline, maybe they are stored in variables. You don't imply anything from an assignment other than the variable now has or is pointing to the new value. This is the same in every programming language. The only difference is that some programming languages gatekeep what you can assign to a variable based on types.