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

[css-color-4] fix typo in conversions.js #6879

Merged
merged 2 commits into from
Dec 13, 2021
Merged

Conversation

romainmenke
Copy link
Member

@romainmenke romainmenke commented Dec 11, 2021

[css-color-4] fix typo

Current code behaves like this (which I think is a typo) :

var alpha = 1;
if (alpha = 0) {
 console.log('truthy')
} else {
 console.log(5 / alpha);
}

> Infinity

@w3cbot
Copy link

w3cbot commented Dec 13, 2021

svgeesus marked as non substantive for IPR from ash-nazg.

@svgeesus svgeesus merged commit cd2a4cc into w3c:main Dec 13, 2021
@svgeesus
Copy link
Contributor

Typo indeed, thanks!

@romainmenke romainmenke deleted the patch-1 branch December 13, 2021 08:56
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