1
0
mirror of https://github.com/XFox111/PasswordGeneratorExtension.git synced 2026-04-22 08:08:01 +03:00

Updated Code style (markdown)

Eugene Fox
2023-11-12 14:54:21 +03:00
parent 52c89824dd
commit 4c4a902d9f
+2 -2
@@ -86,9 +86,9 @@ export const Message: string = 'Hello, World!';
```ts
function GetEnergy(mass: number): number
{
// let speedOfLight: number = 3_0000_0000; // ❌ Incorrect
// let speedOfLight: number = 3_0000_0000; // ❌ Incorrect
// var result: number = Math.pow(speedOfLight, 2); // ❌ Incorrect
const speedOfLight: number = 3_0000_0000; // ✅ Correct
const speedOfLight: number = 3_0000_0000; // ✅ Correct
let result: number = Math.pow(speedOfLight, 2); // ✅ Correct
result = result * mass;