Pascal <-> JavaScript | Assignment

Pascal

:=

Description

var :=expression;
Used keywords: :=

Input

Examples

Pascal

Assignment the possible of use:
x := 1.234;         { x = 1.234}
y := x * 3.14;      { y = 3.87476}
if y<5 then
   y := y/ 3.14;    
.
JavaScript

=

Description

var =expression;
Used keywords: =

Input


Output

Examples

JavaScript

Assignment the possible of use:
x = 1.234;         // x = 1.234
y = x * 3.14;      // y = 3.87476
if (y<5)
   y = y/ 3.14;    // y = 1.234
Languages: en hu cz sk