Skip to content

Conversation

JustusFluegel
Copy link

@JustusFluegel JustusFluegel commented Nov 22, 2020

Empty checks in umfmessage.js are just if(var) but it should be if(var != null) for nullish strings like ''

@JustusFluegel JustusFluegel changed the title fix validate function WIP: fix empty string checks in umfmessage.js Nov 22, 2020
@JustusFluegel JustusFluegel changed the title WIP: fix empty string checks in umfmessage.js fix empty string checks in umfmessage.js Nov 22, 2020
Copy link
Contributor

@cjus cjus left a comment

Choose a reason for hiding this comment

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

Thanks for this. I left some comments and a question regarding the ES2020's Nullish Coalescing Operator.

@JustusFluegel JustusFluegel requested a review from cjus November 23, 2020 15:10
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.

2 participants