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

Offen
#68 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

  • 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. 😀

Vorherrschende Sprache
JavaScript
Sterne
150
Forks
43
Ø Merge
3 T. 10 Std.
Gemergte PRs (30 T.)
22

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NativeScript/ios

Alle Issues in NativeScript/ios

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.