Skip to content

Conversation

@guybedford
Copy link
Contributor

@guybedford guybedford commented Mar 2, 2023

Updates the console logging builtin with various improvements, specifically:

  • Array logging
  • Quoting strings
  • Object spacing
  • Functions and function names properly shown, but skipped if they are not own properties
  • Getter and Setter properties shown but not triggered, also skipped if not own properties
  • Class names are displayed for all objects with a constructor
  • TypedArrays log as arrays, along with the array type

@guybedford guybedford requested a review from JakeChampion March 2, 2023 19:13
@guybedford guybedford force-pushed the guybedford/object-logging branch from f323795 to f89de89 Compare March 3, 2023 01:48
Guy Bedford added 12 commits March 3, 2023 03:59
@JakeChampion JakeChampion force-pushed the guybedford/object-logging branch from 8ad3558 to 5aee092 Compare March 3, 2023 03:59
@JakeChampion JakeChampion merged commit 7a74d76 into main Mar 3, 2023
@JakeChampion JakeChampion deleted the guybedford/object-logging branch March 3, 2023 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants