Free Pascal <-> JavaScript | Assignment

Free Pascal

:=

Description

var :=expression;
Used keywords: :=

Input

Examples

Free 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;    // y = 1.234
.
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