Compare commits

...

4 Commits

Author SHA1 Message Date
Jan Pęski
c77f150d7d Merge 3528d92fcb into d63d75bb28 2023-11-09 09:28:48 -06:00
Julien Le Coupanec
d63d75bb28 Merge pull request #350 from adgan11/patch-1
Fix Issue #316: keygen deprecated
2023-11-07 11:40:11 +01:00
Ahmed Gagan
94087440e5 Fix Issue #316: keygen deprecated 2023-11-06 12:16:17 +05:30
Jan Pęski
3528d92fcb Update javascript.js
Added basic syntax.
2022-12-08 11:24:48 +01:00
2 changed files with 22 additions and 1 deletions

View File

@@ -185,7 +185,6 @@ width="" <!-- Describes the width of th
<!-- Some other useful tags -->
<canvas></canvas> <!-- Allows to draw 2D shapes on the web page with the help of javascript -->
<keygen> <!-- Represents a control for generating a public-private key pair -->
<map></map> <!-- Specifies an image map -->
<!-- Collective Character Obejcts -->

View File

@@ -1,3 +1,25 @@
/* *******************************************************************************************
* GETTING STARTED WITH THE WEB > JAVASCRIPT BASICS
* https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics
* ******************************************************************************************* */
// Variables & Data Types
let someVariable; // Declaring a variable.
someVariable = 'variableValue'; // Assigning a value to a predefined variable.
someVariable; // Calling a variable. Its name points to the value it stores.
let stirngVariable = 'string'; // Type: String
let numberVariable = 1; // Type: Number
let booleanVariable = true; // Type: Boolean
let arrayVariable = [0, 1, 2, 3]; // Type: Array
let objectVariable = { key: 'value'}; // Type: Object
// Comments
// This is a one-line comment
/*
Everything in between is a comment.
*/
/* *******************************************************************************************
* GLOBAL OBJECTS > OBJECT
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object