parseBoolean with javaScript
I have this situation that I need a functionality of parseBoolean

For example if I pass 'FFF' it should return false, but also dose return true for 'FFF' !== false


 <script type="text/javascript">
 
    	
    
    //I need this to call the alert
    	if('anystring' == false)
    	{
    		alert('');
    	}
    	
    //I need this to call the alert
    	if('anystring' !== false)
    	{
    		alert('');
    	}
    	
    	
    	
    </script>

parseBoolean with javaScript
===

I have this situation that I need a functionality of parseBoolean

For example if I pass 'FFF' it should return false, but also dose return true for 'FFF' !== false


 <script type="text/javascript">
 
    	
    
    //I need this to call the alert
    	if('anystring' == false)
    	{
    		alert('');
    	}
    	
    //I need this to call the alert
    	if('anystring' !== false)
    	{
    		alert('');
    	}
    	
    	
    	
    </script>
