Thanks. It's not for anything that sensitive. The user's logged on at this point This is for a textfield where we fire off some logic if the new value differs from the old
@paul23 On that note, things are only going to be worse in the future. Now ChatGPT and the AI craze is only 2 years old. So, even if you were in university when it started, you might not even have graduated yet. But in another 2-3 years when the tech is 4-5 years old, we'd be seeing the first wave of people who graduated only thanks to AI tools. Probably without any real knowledge.
@VLAZ I didn't consider this, thanks for the detailed explanation. Just realized that languages all use different grammar concepts and of course vocabulary, so learning a new language is always like learning from the start, since I would need to learn everything about the language, which I currently don't know. And programming languages all use the sams logical concepts, but aren't that hard if I already know even basic programming.
@BenFortune thanks for the straightforward answer. Apparently AI thinks that using new Function in place of eval is much safer. Exactly why I try not to ever ask AI anything.
I'm wondering why in this case an IIFE is used, I totally don't understand the comment in this code snippet:
(function() { // avoid variables ending up in the global scope
document.getElementById("loginbutton").addEventListener('click', (e) => {
var form = e.target.closest("form");
...
}
})();
All the variables (here shown just one) are defined in the listener associated to the click event, so they can't end up in the global scope. Why defining an IIFE then? Why that comment? Thanks in advance!
I have a macbook early 2015 and I have got intsalled mac os big sur from a local vendor, I am not able to install vscode on the machine, it crashes on installation. Can anyone help me? Thanks in advance. Anything wrong with my machine compatability?
Hello to all!. Is there anyone to convert me a kurento one-2many to many2many v7.0 ? To be a little more specific i want only audio, i want to use it for a voice chat, all to all even and for them that the don't have mic .I try to convert it and i receive the candidates for all the users i send but i can only hear one so If everyone is interesting for this job can contact me for the details . Thanks in advance.
Yep. The code had something like val === "hello" and it just would say false when we could see the values were the same. Finally tried "hello".length copy and pasting the right side of the equals and it claimed there were 6 characters. Thanks, Teams!