7 ms·
There must be a mistake in the "Exact Optional Property Types" section?
by delaaxe 4y ago
There must be a mistake in the "Exact Optional Property Types" section?
- Killusions 4y agoHey, if you think you found a mistake, please also tell me what it is so I can fix it.
- Dylan16807 4y agoThe error message talks about having flags set wrong and doesn't complain about anything the code is doing. Also your code for "Tuple Optional Elements and Rest" is broken. Pad is declared twice and it's returning the wrong thing.
- Killusions 4y agoThanks, I fixed both of them.
- delaaxe 4y agoI think you mean to have undefined after the equal sign, otherwise I don’t see how there could be an error
- Killusions 4y agoYes, the error was also wrong, fixed it.
- delaaxe 4y agoI'd also assign undefined to 'age' to show that it's not erroring
- Killusions 4y agoGood point, done.