how to compare in javascript

0

Hello very good night I have a little problem when comparing in js always gives me false this is my code is from an ajax response.

  if(data == "a") {      
     alert('true');

            } else {
                 alert('falso');

            }
    
asked by juan perez 08.11.2018 в 01:14
source

0 answers