python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
When is it okay/appropriate to use logical assignment in javascript?
I used logical assignments like b = a || [] in Javascript before, and there are many questions on SO about it.
To mention some:
What does the construct x = x || y mean?
JavaScript variable assignment...
jost21
Votes: 0
Answers: 0
Addition of Matrix in C++ using OOP
the following code is not giving the correct output. Matrix data is displaying perfectly, but after the addition of two objects M1 and M2, it did not display the correct output. If I use setData to in...
BS e-Learning
Votes: 0
Answers: 1
Addition of Matrix in C++
The following code gives me the wrong output. actually, it is not doing sum, it actually copies the 2nd object to the M3 object instead of calculating the sum. I think I have some logical errors in + ...
BS e-Learning
Votes: 0
Answers: 1
I don't know really well how to declare a string, (former pawn programmer learning C++)
years ago i was a programmer in a C++ derivated language that was called Pawn, now i want to try to start in C++, write some things to unrust myself from this beatiful thing that is programming
No, i ...
Nicolas Ayala
Votes: 0
Answers: 4