Decisioning Practices: Step 2 - Troubleshoot

Welcome to Step 2 of our Decisioning Practices, where we drill into the nitty-gritty of troubleshooting.

What's the Deal with this Code?

Is this some sort of alien language?

Common Errors

Error Description Solution
Syntax Error The code is missing a semicolon function helloWorld() { var x = 5; return x; };
Logical Error The code is trying to subtract 1 from 0. x - 0

Step 3: Refactor

Let's refactor this code into something more elegant

Step 4: Debug

We're going to find that bug