仓库源文站点原文


title: Some tips about learning JavaScript layout: post thread: 161 date: 2015-08-28 author: Joe Jiang categories: Document tags: [JavaScript]

excerpt: When I had my internship in DeepGlint, my supervisor gave me a lot of advice about how to obtain the ability to develop the interesting web world.

JS对象

一些有用的函数

Attention: parseInt 允许我们自定义接受参数的进制格式.比如以0开头的字符串很少会被用于八进制格式化(特别是在用户输入中). 为了处理这类问题, parseInt 接受第二个参数,基数.它可以指出第一个字符串参数要被如何解析.特别指出,第二个参数如果是 10 , parseInt 函数将解析第一参数字符串只能为十进制,例如parseInt(col, 10)

JavaScript 秘密花园

Others

The most important four elements in understanding JavaScript are:

There's really a lot of resource when you Google how to understand them, so I do not repeat them here. Then follows two links about how to learn them well in a better way, the first website is JavaScript: The Right Way. The content covers a guide intended to introduce new developers to JavaScript and help experienced developers learn more about its best practices, such as JavaScript Code Style, design patterns contained in JavaScript, some frameworks, game engines, etc. The website may not explain the points that mentioned in it specifically, but it really gives people a good direction in how to understand and learn JavaScript deeply.

The second link I want to share is Principles of Writing Consistent, Idiomatic JavaScript. It is a document about how to write consistent, idiomatic JavaScript in our daily life. It provides many translated versions for different kinds of people around the world.