working on js typesystem docs

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-06-02 15:27:00 +03:00
parent 0c922146f6
commit 70c335b77d
4 changed files with 17 additions and 3 deletions

20
js-types-n-oop.js Normal file → Executable file
View File

@ -1,12 +1,26 @@
/**********************************************************************
*
* JavaScript types and objects
*
*
**********************************************************************/
//
// Types and object
// ================
//
// JavaScript's type system is split into two categories of enteties:
// basic types or values and objects, they differ in several aspects.
//
// | values | objects
// ----------------+-------------------+--------------------------
// mutability | imutable | mutable
// ----------------+-------------------+--------------------------
// identity | equal values are | different objects
// | the same entity | can have same
// | (singletons) | structure
// ----------------+-------------------+--------------------------
//
//
// Basic values
// ============
//

0
simplesnake/manifest.json Normal file → Executable file
View File

0
simplesnake/simplesnake.html Normal file → Executable file
View File

0
simplesnake/simplesnake.js Normal file → Executable file
View File