Visual Basic .NET <-> JavaScript | Single line comment

Visual Basic .NET

'

Description

'
Used keywords: '

Examples

Visual Basic .NET

Single line comment the possible of use:
x = 5 * y ' x = xy
' y = 123;
if x > 0 then ' x == true
   x=5
end if
.
JavaScript

//

Description

//
Used keywords: //
Data:
  • text -

Examples

JavaScript

Single line comment the possible of use:
x = 5 * y; // x = xy
// y = 123;
if (x > 0) // x == true
   x=5;
Visual Basic .NET

REM

Description

REM
Used keywords: rem

Examples

Visual Basic .NET

Single line comment the possible of use:
x = 5 * y ' x = xy
' y = 123;
if x > 0 then ' x == true
   x=5
end if
.
JavaScript

//

Description

//
Used keywords: //
Data:
  • text -

Examples

JavaScript

Single line comment the possible of use:
x = 5 * y; // x = xy
// y = 123;
if (x > 0) // x == true
   x=5;
Languages: en hu cz sk