From 15773c455a404c65fe7ff4e06b09bed5942d2d57 Mon Sep 17 00:00:00 2001 From: Alexander Ivanov Date: Mon, 7 Jan 2019 01:50:21 +0200 Subject: Add changelog for the isNil JavaScript change (#10184) Forgot to add an item, breaking change --- changelog.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'changelog.md') 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 -- cgit 1.4.1-2-gfad0