if else


Snippet Details

Shortcut
ife
Description
Write an if else condition
Language
javascript
Types
Expansion
Author
Jeremie Corpinot
Upload on
29-10-2015 23:36:08
Downloads
2420

Declarations

ID ToolTip Default
param1 condition true
body1 code to execute if the condition is true // body1
body2 code to execute if the condition is false // body2

Code Output

 if ($param1$) { $body1$ } else { $body2$ }$end$ 

Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages