Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose null and undefined constant values #163

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

dylanahsmith
Copy link
Collaborator

Builds on #162
cc @genevieve

Currently, there is no simple way of getting null or undefined JS values from v8go. There are workarounds like running a script to get these values, but this shouldn't be necessary.

For instance, this would be useful in #160 for explicitly passing the undefined value as an explicit function call receiver

@codecov
Copy link

codecov bot commented Sep 3, 2021

Codecov Report

Merging #163 (26b531d) into master (a05dd22) will increase coverage by 0.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
+ Coverage   96.94%   96.99%   +0.05%     
==========================================
  Files          12       12              
  Lines         458      466       +8     
==========================================
+ Hits          444      452       +8     
  Misses          9        9              
  Partials        5        5              
Impacted Files Coverage Δ
isolate.go 100.00% <100.00%> (ø)
value.go 97.63% <100.00%> (+0.08%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a05dd22...26b531d. Read the comment docs.

genevieve pushed a commit to Shopify/v8go that referenced this pull request Sep 3, 2021
genevieve pushed a commit to Shopify/v8go that referenced this pull request Sep 3, 2021
@dylanahsmith dylanahsmith requested a review from rogchap September 7, 2021 21:58
Copy link
Owner

@rogchap rogchap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense; thank you.

@dylanahsmith dylanahsmith merged commit 0eeb865 into rogchap:master Sep 8, 2021
@dylanahsmith dylanahsmith deleted the null-undefined-funcs branch September 8, 2021 14:17
dylanahsmith pushed a commit to Shopify/v8go that referenced this pull request Sep 8, 2021
dylanahsmith pushed a commit to Shopify/v8go that referenced this pull request Sep 8, 2021
dylanahsmith pushed a commit to Shopify/v8go that referenced this pull request Sep 8, 2021
dylanahsmith pushed a commit to Shopify/v8go that referenced this pull request Sep 8, 2021
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