leviding Github contribution chart
leviding Github Stats
leviding Most Used Languages

Activity

26 Sep 2022

Leviding

started

Started On 26 Sep 2022 at 09:02:04
Started

Leviding

started

Started On 23 Sep 2022 at 03:44:10

Leviding

started

Started On 21 Sep 2022 at 07:25:16

Leviding

started

Started On 21 Sep 2022 at 06:34:30

Leviding

Update README.md

Pushed On 20 Sep 2022 at 05:42:13

Leviding

正则章节的一处翻译问题

9-regular-expressions/...

If the regexp has flag g, then it returns an array of all matches as strings, without capturing groups and other details.
如果 regexp 带有修饰符 g,则它将所有匹配项的数组以字符串的形式返回,而不包含捕获组和其它详细信息。

结合上下文,原文的大意是:如果 regexp 带g ,方法将会返回一个包含所有匹配项的数组,该数组的元素(即匹配项)是字符串形式的、不包含其他匹配信息(作为对比,不带g的匹配项是数组形式的,包含 index input 等其他匹配信息)。

两种情况的匹配项形式对比如下:

> 'a b c'.match(/\w/);  //不带g
  ['a', index: 0, input: 'a b c', groups: undefined]

> 'a b c'.match(/\w/g);  //带g
  (3) ['a', 'b', 'c'] 

Forked On 15 Sep 2022 at 02:55:45

Leviding

Solved in https://github.com/javascript-tutorial/zh.javascript.info/pull/1101

Commented On 15 Sep 2022 at 02:55:45

Leviding

improve regexp-methods trans
Forked On 15 Sep 2022 at 02:55:22

Leviding

#1100

Commented On 15 Sep 2022 at 02:55:22

Leviding

feat: improve regexp-methods trans (#1101)

Pushed On 15 Sep 2022 at 02:54:33

Leviding

improve regexp-methods trans

Created On 15 Sep 2022 at 02:54:30

Leviding

improve regexp-methods trans
Merged On 15 Sep 2022 at 02:54:13

Leviding

LGTM. Thanks!

Commented On 15 Sep 2022 at 02:54:13

Leviding

Update README.md

Pushed On 15 Sep 2022 at 02:44:11

Leviding

fix: typo error (#1099)

Pushed On 09 Sep 2022 at 05:36:28

Leviding

fix wrong text

Created On 09 Sep 2022 at 05:36:26

Leviding

feat: update

Pushed On 08 Sep 2022 at 01:16:59

Leviding

feat: update

Pushed On 08 Sep 2022 at 01:15:08

Leviding

feat: add eoapi in README

Pushed On 08 Sep 2022 at 01:12:24

Leviding

started

Started On 06 Sep 2022 at 09:34:20

Leviding

improve: cookie article

close #1096

Forked On 05 Sep 2022 at 10:34:29

Leviding

Thanks.

Commented On 05 Sep 2022 at 10:34:29

Leviding

feat: cookie article (#1097)

Pushed On 05 Sep 2022 at 10:34:28

Leviding

improve: cookie article

Created On 05 Sep 2022 at 10:34:26

Leviding

improve: cookie article

close #1096

Merged On 05 Sep 2022 at 10:34:08

Leviding

Commented On 05 Sep 2022 at 10:34:08

Leviding

fix: typo (#1092)

Pushed On 31 Aug 2022 at 10:39:25

Leviding

fix: typo

Created On 31 Aug 2022 at 10:39:23

Leviding

fix: typo

目标章节:1-js/11-async/03-promise-chaining

当前上游最新 commit:https://github.com/javascript-tutorial/en.javascript.info/commit/53b35c16835b7020a0a5046da5a47599d313bbb8

本 PR 所做更改如下:

文件名 | 参考上游 commit | 更改(理由) -|-|- article.md | 无 | 修改错别字

注意,参考上游 commit 是指你所修改的文件,在英文仓库中同名文件的对应 commit,即你此次提交的修改的依据。如果本 PR 你只是提交一个文字或者语句优化,并非根据上游英文仓库的修改而提交的更新,则请填无。

Merged On 31 Aug 2022 at 10:39:10

Leviding

LGTM. Thanks!

Commented On 31 Aug 2022 at 10:39:10

Leviding

started

Started On 26 Aug 2022 at 11:20:28

Leviding

started

Started On 24 Aug 2022 at 11:56:14

Leviding

First commit

Pushed On 23 Aug 2022 at 12:44:02

Leviding

Site updated: 2022-08-23 20:44:00

Pushed On 23 Aug 2022 at 12:44:02