Sometimes in JavaScript or C# code I will see a "1==1" conditional statement.
C# example:
if (!IsPostBack || 1==1)
I know that in Sql statements, 1=1 can be used when dynamically building queries or when creating sql injection attacks, but I don't understand the practical usage of a test that always evaluates to true in C# or JavaScript.