Creating a if statement inside an if statement in a Javascript function node

Hey guys, currently i have some problems with not knowing how to create a if satement inside a if statement in a Javascript function node, currently last piece i need to do for my project to work. How do i do this? Is it even possible?

Have you looked at examples?
nested examples

[edit] fixed wrong link

I have not. I will thank you!

Actually that example page is for Go rather than Javascript, though the principle is the same

if (A) {
  ...
  if (B) {
    ...
  }
  ...
}
1 Like

Indeed it is the same principle.

Internet search should always be the first port of call: