1. PrefaceΒΆ

Welcome to Javascript for Python Programmers. This short ebook is an ongoing project to help Computer Science students who have had one or two semesters of Python learn the Javascript programming language. If you are not a part of that audience you may still find this a useful way to learn about Javascript. This book is written using the build on what you know philosophy. In order to help you learn Javascript I will start with a Python example and then implement the example in Javascript. Along the way we will examine the strengths, weaknesses and differences between those two languages.

This book does not attempt to replace the many good Javascript reference books that are available. Please feel free to use this book for yourself, or if it fits a class you are teaching you are welcome to use this as a resource for your own class.

I have published this book using a Creative Commons license to encourage you to use it, change it, and modify it for your own purposes. I would appreciate knowing what you think if you do use this book, and I would love to see any modifications or additions you make. The source is available on github

Brad Miller bmiller@luther.edu January, 2016

image This work is licensed under a Creative Commons Attribution 3.0 United States License. See http://creativecommons.org
Next Section - 2. Part I: The Basics