Object.prototype.toString.apply(value) is not returning the proper constructor name

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

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

Đánh giá

Issue này chưa được đánh giá.

Mô tả

  • Please note this is unconfirmed

One of my plugins broke and the reason the user figured out was that it wasn't returning the proper constructor name with a Object.prototype.toString.apply(value) so their fix was to use InstanceOf to do the tests. However, this did work in the JSC engine, so for compatibility we should double check that this is broken and/or the return value.

I just wanted to make sure to make note of it so it will show up for me to test / fix at a later time. 😀

Ngôn ngữ chính
JavaScript
Star
150
Fork
43
Merge trung bình
3 ngày 10 giờ
Pull request đã merge (30 ngày)
22

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

Mở hướng dẫn đóng góp

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 NativeScript/ios

Tất cả issue của NativeScript/ios

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.