added comment to ternary statement/console.log
added workspace file to idea folder