mirror of
				https://github.com/flynx/Course-JavaScript.git
				synced 2025-10-31 20:10:08 +00:00 
			
		
		
		
	working on js typesystem docs
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									0c922146f6
								
							
						
					
					
						commit
						70c335b77d
					
				
							
								
								
									
										20
									
								
								js-types-n-oop.js
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										20
									
								
								js-types-n-oop.js
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							| @ -1,12 +1,26 @@ | |||||||
| 
 |  | ||||||
| /********************************************************************** | /********************************************************************** | ||||||
| *  | *  | ||||||
| * JavaScript types and objects | * 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
 | // Basic values
 | ||||||
| // ============
 | // ============
 | ||||||
| //
 | //
 | ||||||
|  | |||||||
							
								
								
									
										0
									
								
								simplesnake/manifest.json
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								simplesnake/manifest.json
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
								
								
									
										0
									
								
								simplesnake/simplesnake.html
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								simplesnake/simplesnake.html
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
								
								
									
										0
									
								
								simplesnake/simplesnake.js
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								simplesnake/simplesnake.js
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user