Add LMSGI/preguntas-examen-t8y9
This commit is contained in:
		
							
								
								
									
										17
									
								
								1/LMSGI/preguntas-examen-t8y9.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								1/LMSGI/preguntas-examen-t8y9.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					Al final del código siguiente, ¿cuál será su resultado?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					a = 6;
 | 
				
			||||||
 | 
					b = a++;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					a) a = 7; b = 7
 | 
				
			||||||
 | 
					B) a = 7; b = 6
 | 
				
			||||||
 | 
					c) a = 6; b = 7
 | 
				
			||||||
 | 
					d) Error, ya que '++' no es una operación válida
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					¿Cómo se define una función en JavaScript?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					a) func f(arg1, arg2, ...) { ... }
 | 
				
			||||||
 | 
					b) func f[arg1, arg2, ...] { ... }
 | 
				
			||||||
 | 
					C) function f(arg1, arg2, ...) { ... }
 | 
				
			||||||
 | 
					d) function f(arg1, arg2, ...) [ ... ]
 | 
				
			||||||
		Reference in New Issue
	
	Block a user