Aprendiendo JavaScript
Aprendiendo JavaScript
Aprende las bases del lenguaje web más demandado. Desde cero hasta ECMAScript 6.
Sobre este libro
JavaScript es el lenguaje de la web. Si necesitas programar en un navegador web, necesitas JavaScript.
Gracias a el tenemos aplicaciones como Gmail, o Twitter, que son fuertemente dinámicas y hacen que la experiencia de uso sea mucho mejor que antaño, cuando las páginas web tenían que recargarse cada vez que realizábamos una acción.
Es un lenguaje muy demandado en la industría hoy en día, ya que además de utilizarse en el navegador, tambiénpuede usarse en el lado del servidor (Node.js). Con la multitud de frameworks que existen pueden crearse Single Page Applications que emulan la experiencia de una aplicación móvil en el navegador. También pueden crearse aplicaciones híbridas con herramientas como Ionic y Cordova. ¿Has oído hablar del desarrollo basado en componentes? Te sonarán entonces Polymer, React. Con React Native puedes crear aplicaciones nativas para iOS y Android con únicamente JavaScript. ¿Aplicaciones Isomórficas? Hoy en día todo es posible con JavaScript.
Reader Testimonials

Miguel Ruiz
Web Developer
Aprendiendo JavaScript me ayudó a saber más de la teoría de JavaScript y a dejar la práctica del día a día a un lado. Se lo recomiendo a cualquier persona que quiera aprender este lenguaje y a cualquiera que ya sepa de él para mejorar sus habilidades como profesional.

Leonel Contreras
Web Developer
JavaScript de 0 a 100, el libro de Carlos Azaustre te lleva de la mano con ejemplos concisos. Desde lo básico, hasta los pilares del lenguaje, programación funcional y herencia mediante prototipos, todo lo necesario para crear aplicaciones épicas

Nelson Rojas Nuñez
Ingeniero
Soy ingeniero desde hace años y siempre he usado Javascript a "la rápida". Copio de aquí, corrijo de allá, pero nunca me senté tranquilamente a leer sobre él. Aprendiendo JavaScript me ha parecido genial. Gracias a este libro he logrado comprender mejor el lenguaje y he encontrado nuevos trucos que aplicar.

Omar Sainz
Frontend Developer
No solamente es una guía de referencia, es un libro muy visual, que además, te enseña buenas prácticas y consejos a tomar en consideración. Carlos ha logrado simplificar la complejidad de muchos de los conceptos de JavaScript con base en ejemplos y referencias de una manera muy sencilla y divertida. Aprendiendo JavaScript rompe con el estereotipo: "No hay libros buenos en español sobre JavaScript/Programación". Si quieres aprender, mejorar o sólo consultar, este es el libro indicado.
Table of Contents
- 1. Sobre éste libro
- 2. Historia de JavaScript
- 2.1. Orígenes
- 2.2. Node.js
- 3. Tipos de variables
- 3.1. Definición
- 3.2. Tipos
- 4. Operadores
- 4.1. Operadores aritméticos
- 4.2. Operador typeof
- 4.3. Operadores booleanos
- 4.4. Operadores lógicos
- 5. Condicionales
- 5.1. Asignación condicional
- 5.2. Sentencia IF
- 5.3. Sentencia SWITCH
- 6. Clases Core y Módulos de JavaScript
- 6.1. Object
- 6.2. Number
- 6.3. Array
- 6.4. String
- 7. Funciones
- 7.1. Parámetros por defecto
- 7.2. Ámbitos de una función
- 7.3. Clousures
- 7.4. Funciones como clases
- 7.5. Clases en ECMAScript6
- 8. Bucles
- 8.1. Bucle While
- 8.2. Bucle Do/While
- 8.3. Bucle For
- 8.4. Bucle ForEach
- 8.5. Bucle ForIn
- 9. JSON
- 10. AJAX
- 10.1. XMLHttpRequest
- 10.2. Fetch en ECMAScript6
- 11. Eventos
- 11.1. Manejando eventos
- 11.2. Propagación de eventos
- 11.3. Patrón PubSub
- 11.3.1. Patrón PubSub con Datos
- 11.4. Websockets
- 12. Promesas
- 13. DOM Document Object Model
- 14. ¿Qué trae nuevo ECMAScript 6?
Authors have earned$9,913,563writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Más información sobre cómo escribir en Leanpub
Leanpub incondicional, sin riesgo, 100% de felicidad garantizada
Durante los primeros 45 días de compra, puedes obtener un reembolso del 100% de cualquier compra Leanpub, en dos clics. Procesamos las restituciones manualmente, así que puede tomarse unos días en aparecer. Véase términos completos.
Actualizaciones gratis. Libre de DRM.
¡Si compras un libro Leanpub obtienes actualizaciones gratis siempre y cuando el autor actualice el libro! Varios autores usan Leanpub para publicar sus libros en progreso mientras los escriben. Todos los lectores obtienen actualizaciones gratis, independientemente de cuándo compraron el libro o cuánto pagaron (incluyendo si fue gratis).
La mayoría de los libros Leanpub se encuentran disponibles en PDF (para computadores), EPUB (para teléfonos y tabletas) y MOBI (para Kindle). Los formatos que un libro incluye se muestran en la esquina superior derecha de esta página.
Finalmente, los libros Leanpub no tienen ninguna de las cosas sin sentido sobre protección de copia DRM, así que puedes leerlos fácilmente en cualquier dispositivo que se soporta.
Aprende más sobre los formatos de Leanpub y dónde puedes leerlos
Top Books
C++ Best Practices
Jason TurnerLevel up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
Continuous Delivery Pipelines
Dave FarleyThis practical handbook provides a step-by-step guide for you to get the best continuous delivery pipeline for your software.
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
C++20
Rainer GrimmC++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
The book is almost daily updated. These incremental updates ease my interaction with the proofreaders.
Atomic Kotlin
Bruce Eckel and Svetlana IsakovaFor both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
Introductory Statistics with Randomization and Simulation
Mine Cetinkaya-Rundel, Christopher Barr, OpenIntro, and David DiezA complete foundation for Statistics, also serving as a foundation for Data Science, that introduces inference using randomization and simulation while covering traditional methods.
Leanpub revenue supports OpenIntro, so we can provide free desk copies to teachers interested in using our books in the classroom.
More resources: openintro.org.
Ansible for DevOps
Jeff GeerlingAnsible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
Java OOP Done Right
Alan MellorObject Oriented Programming is still a great way to create clean, maintainable code. But only if you use it right.
This book gives you 25 years of OO best practice, ready to use.
You'll learn to design objects behaviour-first, use TDD to help, then confidently apply Design Patterns, SOLID principles and Refactoring to make clean, crafted code.
Introducing EventStorming
Alberto BrandoliniThe deepest tutorial and explanation about EventStorming, straight from the inventor.
Discrete Mathematics for Computer Science
Alexander Shen, Alexander S. Kulikov, Vladimir Podolskii, and Aleksandr GolovnevThis book supplements the DM for CS Specialization at Coursera and contains many interactive puzzles, autograded quizzes, and code snippets. They are intended to help you to discover important ideas in discrete mathematics on your own. By purchasing the book, you will get all updates of the book free of charge when they are released.
Top Bundles
- #1
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #3
Cisco CCNA 200-301 Complet
4 Books
Ce lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301. - #4
Modern C++ by Nicolai Josuttis
2 Books
- #5
CCDE Practical Studies (All labs)
3 Books
CCDE lab - #6
"The C++ Standard Library" and "Concurrency with Modern C++"
2 Books
Get my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library... - #7
Mastering Containers
2 Books
Docker and Kubernetes are taking the world by storm! These books will get you up-to-speed fast! Docker Deep Dive is over 400 pages long, and covers all objectives on the Docker Certified Associate exam.The Kubernetes Book includes everything you need to get up and running with Kubernetes! - #8
The Future of Digital Health
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer... - #9
Django for Beginners/APIs/Professionals
3 Books
- #10
Linux Administration Complet
4 Books
Ce lot comprend les quatre volumes du Guide Linux Administration :Linux Administration, Volume 1, Administration fondamentale : Guide pratique de préparation aux examens de certification LPIC 1, Linux Essentials, RHCSA et LFCS. Administration fondamentale. Introduction à Linux. Le Shell. Traitement du texte. Arborescence de fichiers. Sécurité...