Commit 436b6321 authored by Jérome Perrin's avatar Jérome Perrin

core: fix incorrect code comment

parent db5ed350
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
/** Return first non-empty variable or the last one. /** Return first non-empty variable or the last one.
Calling getNonEmpy(a, b, "") is more robust way of writing a || b || "". Calling getFirstNonEmpty(a, b, "") is more robust way of writing a || b || "".
Variables coercing to false (e.g 0) do not get skipped anymore. Variables coercing to false (e.g 0) do not get skipped anymore.
*/ */
function getFirstNonEmpty(first_argument) { function getFirstNonEmpty(first_argument) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment