Coder Social home page Coder Social logo

learn-javascript's Introduction

Javascript 导学


这本书将教你Javascript编程的相关基础。不管你是菜鸟还是一个有经验的程序猿,这本书是为任何想学习Javascript编程的人而准备的。

JavaScript (*简称 JS *)是一种能够让网页响应用户交互的编程语言。它产生于1995年,现已是当下最火并且使用最广泛的语言之一。

Note: 这本开源的书来自 GitBookLearn Javascript

自我说明: 这是我第一次进行开源翻译项目,现在是一个人,也欢迎有其他人加入这个项目。还希望大家指出翻译错误的地方,有问题可以在GitHub中提出。 最后,感谢本书作者Gitbook公司提供这套教程。

learn-javascript's People

Contributors

xinqiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

learn-javascript's Issues

一些翻译修改建议

顺便希望在 README 里面给个原文链接

一些修改建议供参考

数据类型

  • float/integer
    浮点型(Float) -> 浮点数
    整型(Integer) -> 整数
    因为他们不是一种类型,数字章节的文章中也多次出现这个问题
  • true, false
    True -> true
    False -> false
    (因为true、false是JS的关键字)
  • 不完整
    少 null, undefined 两段

数字

  • 该页面需要更新

字符串/创建

  • programming defensively

    防御性编程(Defensive programming) (wikipedia)

    Taking such precautions is also known as programming defensively.

    采取这种预防措施的行为被称作防御性编程。

条件语句/比较

  • Comparators
    Comparators -> 比较运算符
    文章标题

函数/函数声明

  • double
    浮点型x的 double 函数 -> x的两倍
  • may not
    可能不可以 -> 不可以 // 去掉“可能”
    the function above may not be referenced before it is defined...
    没有可能

函数/高阶函数

  • 不完整
    第一段少两句话
  • each
    list的元素中 -> list的每一个(each)元素中
  • fancy
    不是什么术语,我觉得可以直接翻译成“精巧的”

对象

对象/属性

  • functions can be values

    函数可以有值 -> 属性值也可以是函数 (functions can be values)

对象/可变性

  • immutable

    immutable 不可变的

    而原始值不可改变 -> 原始值是不可变的

对象/引用

  • never copied
    不可复制 -> 不会被复制
    Objects are never copied
  • share
    我和你分析它 -> 我和你分享它

对象/原型

  • 字面量
    文本 -> 字面量 (literal)
  • 这个指代可能不清楚
    从文本对象({})创建的所有对象都自动链接到的Object.prototype,这个对象来自JavaScript标准。
  • further through
    因此,通过深入原型,解释器检索第一个对象本身的属性。 ->
    解释器解析某个属性时会先检查对象自己,再进一步检查他的原型。

对象/销毁

  • delete
    销毁 -> delete
    开头的代码片段关键词不要翻译
  • 不完整
    少一句话

对象/全局化

  • 这个技巧
    this 技巧 -> 这个技巧
    这里不是在介绍this关键字
  • with
    用在闭包中 -> 配合闭包使用

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.