summary refs log tree commit diff stats
path: root/changelog.md
diff options
context:
space:
mode:
authorAlexander Ivanov <alehander42@gmail.com>2019-01-07 01:50:21 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-01-07 00:50:21 +0100
commit15773c455a404c65fe7ff4e06b09bed5942d2d57 (patch)
tree15e785db3411d583c2ec1b866c05db6dc108a687 /changelog.md
parentb7be67349b2677a251aba8fda999a49b7a85af70 (diff)
downloadNim-15773c455a404c65fe7ff4e06b09bed5942d2d57.tar.gz
Add changelog for the isNil JavaScript change (#10184)
Forgot to add an item,  breaking change
Diffstat (limited to 'changelog.md')
-rw-r--r--changelog.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md
index 47642cab5..b3ccc1b2e 100644
--- a/changelog.md
+++ b/changelog.md
@@ -52,6 +52,8 @@
 
 - splitFile now correctly handles edge cases, see #10047
 
+- `isNil` is no longer false for undefined in the JavaScript backend: now it's true for both nil and undefined. Use `isNull` or `isUndefined` if you need exact equallity: `isNil` is consistent with `===`, `isNull` and `isUndefined` with `==`.
+
 #### Breaking changes in the compiler
 
 - The compiler now implements the "generic symbol prepass" for `when` statements