Which set of symbols encloses an if-then code block? Choose the best answer.

straight brackets []
curly brackets {}
backslashes \\
vertical bars ||


Answer :

Here's some code that might help, assuming that you are using JavaScript.

e = "Hello"

if(e === "Hello"){

    alert(":D")

}else{

    console.log("Um.")

}

I think that the answer is curly brackets.