to come back to the original question.. I think if you have such deep data structures, it should be best practice to solve that more "oldschool" within the function body
I mean... this is probably edgy, but if there are even more data structures this becomes ugly/unreadable af
@gbade_ Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
@gbade_ Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
> hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
Okay, so how would I rewrite this -
var JSONObject= {"amount":parseInt(numbers.text()), "loanTenor":parseInt(duration.text())};
var jsonData = $.parseJSON(JSON.stringify(JSONObject));
@user1033241 Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
Am I going mad this imgur.com/a/qsgqA is an object literally right before putting it into a socket and this imgur.com/a/Zz9eh is it literally right as it comes out what could I be missing
@kikjezrous Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
Okay so I'm sending an object gui through a socket and values of gui.upgrades are getting messed up somehow. size becomes a NaN, facing becomes some random value, and color is modified.
gui.upgrades before entering the socket: Image // Code
gui.upgrades after exiting the socket: Image // Code
...
The change in color seems to indicate that perhaps somehow it was intentional on my part. 8 represents blue which is what I wanted to have it set to although I hadn't done it yet. I'm just sure where or how this is changing
Maybe it's not a bug. Does this sound like a bug to you guys?
If you open a file in VS Code, then switch files, it will overwrite the opened file provided no changes were made to the file, and the file wasn't saved.
If you have >1 files open, opening a new file will replace the first file in the above described state, regardless of which tab has focus
I want to have a unique constraint on a column which I am going to populate with GUIDs. However, my data contains null values for this columns. How do I create the constraint that allows multiple null values?
Here's an example scenario. Consider this schema:
CREATE TABLE People (
Id INT CONST...