python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Function prints correct result, returns wrong value
I know there are millions of similar questions, but I couldn't solve my case. I have a data set consisting of 4 columns (energy versus imaginary part of dielectric function in 3 polarizations). I want...
user175924
Votes: 0
Answers: 1
Javascript/Firebase - Why does function return undefined instead of true or false?
I'm use this function to check Answer. Value of compareAns should return true/false but it return undefined.
Return undefined
Data in firebase
function compareAns(quiz, ansIndex) {
let ansRef = fi...
4uckd3v
Votes: 0
Answers: 0
C Function to return a String resulting in corrupted top size
I am trying to write a program that calls upon an [external library (?)] (I'm not sure that I'm using the right terminology here) that I am also writing to clean up a provided string. For example, if ...
ジャプダウン
Votes: 0
Answers: 1
How to return one whole code block in javascript
I'm trying to make a BMI calculator.
If you give a weight that is a string, negative number, or so forth it should write back (type in validate weight etc.) in console. But the thing is, I don't know ...
Przychom
Votes: 0
Answers: 1