I have been given a task to convert code that is written in JavaScript over to VBScript. It is actually quite basic code and it is really just the syntax that needs to be converted.
For example
if (str == "string text") {
foo = "foo";
} else {
foo2 = "foo2";
}
becomes
If (str = "string text") Then
foo = "foo"
Else
foo2 = "foo2"
End If
I was wondering if a tool existed to convert from JavaScript to VBScript?