I want to Math.min a few Date values (e.g. var1.getTime(), var2.getTime(), and var3.getTime()). However, before I can use .getTime() on them, I need to make sure they exist (so the script doesn't crash).
If one of the variables doesn't exist I still want to get the Math.min of the other variables that exist.
Any clues?