how to do you prove that boolean datatypes like "true" and "false "are converted to numbers when using the == operator in javaScript who knows whether the "numbers are" converted to booleans in javaScript when using the == operator see the below example:
console.log(true == 1);
console.log(false == 1);
How do you very surely say that in the above code the "boolean datatype" "true" and "false" is always converted to numbers when comparing them with "Numbers" using the "Loose Equality operator in javaScript (==)" who knows whether the "Numbers" are converted to the boolean datatype "true" and "false".
Please help me figure this out