Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 4 fuera de 193 páginas
Resumen

Summary I am selling you future books (programming).

Document preview thumbnail
Vista previa 4 fuera de 193 páginas

I am selling you future books (programming). I will present to you everything you will need in terms of knowledge of any programming language in the form of a book with a lot of useful information for you, and as you also know that programmers have very high salaries, I will help you to be great programmers I wish you a pleasant reading and learning.

Vista previa del contenido

JavaScript/Print version




JavaScript


The current, editable version of this book is available in Wikibooks, the open-
content textbooks collection, at
https://en.wikibooks.org/wiki/JavaScript


Permission is granted to copy, distribute, and/or modify
this document under the terms of the Creative Commons
Attribution-ShareAlike 3.0 License.

,Contents
Introduction
Dynamic data types
Functional programming
Object-orientated programming
C-like syntax
Relation to Java
JS engines
References
Relation to other languages
Behavior of Variables
Scope of Variables
Classes
First program
Exercises
JavaScript within HTML
Internal vs. external JavaScript
External JavaSscript
The src attribute
The type attribute
The async and defer attributes
Location of <script> elements
The <noscript> element
JavaScript in XHTML files
Reference
Handling Events
Second Example
Development Tools
Development Stage
Locally installed Tools
Online
Validation
Optimization, Obfuscating
Self Test
Introduction
Syntax and Semantic
Type Conversion
Loops
Helpful hints
Predefined functions
alert()
log()

, print()
prompt()
write()
Coding style
Faulty visualization in some code examples
Lexical structure
Summary
Case Sensitivity
Whitespaces
Comments
Semicolons
Literals
Identifiers
Exercises
Notes
References
Automatic semicolon insertion
See also
Reserved words
References
Variables
Purpose
Declaration and initialization
Keyword let
Keyword const
Keyword var
Omitting the declaration
Data types
Scope
Block scope
Function scope
Module scope
Global scope
Exercises
See also
References
Data types
Introduction
Categories of data types
References
Primitive data types
String
Properties and methods for strings
length

, concat(text)
indexOf(searchText)
lastIndexOf(searchText)
replace(text, newtext)
slice(start [, end])
substr(start [, number of characters])
substring(start [, end])
toLowerCase()
toUpperCase()
Number
Properties and methods for numbers
Properties
Math.ceil(number)
Math.floor(number)
Math.round(number)
Math.max(number_1, number_2)
Math.min(number_1, number_2)
Math.random()
Number.parseInt(string)
Number.parseFloat(string)
BigInt
Boolean
Undefined
Null
Symbol
See also
Exercises
References
Objects
Create an object
Read a property
Add or modify a property
Delete a property
Merge objects
Functions/methods as part of an object
Exercises
Arrays
Create an array
Access an array element
Varying data types
Nested arrays
Properties and methods
length
concat
join and split

Información del documento

Subido en
7 de octubre de 2023
Número de páginas
193
Escrito en
2023/2024
Tipo
Resumen
$8.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
44
Última venta
-


Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes