Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
valonY authored May 17, 2020
1 parent 5358078 commit 701aa7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
a[6]()

var a = [];
for (let i = 0; i < 10; i++) {
for (var i = 0; i < 10; i++) {
(i =>{
a[i] = function() {
console.log(i)
Expand Down Expand Up @@ -174,4 +174,4 @@
| | IDE自动补全,TS DOC | 失去了JS很大灵活性 |
| | 用别人的TS很爽 | 自己写TS很惨 |

诚然,当项目体量起来之后,TS可以帮我们规避掉一些问题并且增强我们代码的健壮性,个人觉得不应该为了TS而去写TS,而是站在项目体量,团队人数,去考虑用不用,每一种技术栈都应如此。
诚然,当项目体量起来之后,TS可以帮我们规避掉一些问题并且增强我们代码的健壮性,个人觉得不应该为了TS而去写TS,而是站在项目体量,团队人数,去考虑用不用,每一种技术栈都应如此。

0 comments on commit 701aa7a

Please sign in to comment.