Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Replace var with let in javascript tutorials

Đang mở
#443 2 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
documentation

Hướng nghiên cứu

Review the JavaScript tutorials to identify examples currently using var and determine the scope of the proposed documentation update. Check the linked browser-support reference and existing tutorial conventions first. Done means the relevant tutorials consistently use let and the updated documentation remains accurate for learners.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I was wondering if there was appetite for changing the tutorials to use let instead of var? It behaves more like other programming languages people may be coming from and is now supported by all major browsers as per https://caniuse.com/#search=let with 90% full support in browsers and 94.5% including partial support.

Let me know if this would be appreciated and if so I'm happy to update the docs and raise the PR

Ngôn ngữ chính
JavaScript
Star
268
Fork
240
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codebar/tutorials

Tất cả issue của codebar/tutorials

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.