Enable Nullish operators by default
authorkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Nov 2019 20:53:07 +0000 (20:53 +0000)
committerkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Nov 2019 20:53:07 +0000 (20:53 +0000)
commit457a7bd984c4d34fc1f15643c44d60d3b5eb0222
treef17d01f64e52934e40e637d329362e88c42859da
parent1a79b2f711bf5c51972e076dd7374d7441c1ce42
Enable Nullish operators by default
https://bugs.webkit.org/show_bug.cgi?id=204308

Reviewed by Yusuke Suzuki.

JSTests:

Remove feature -> option map.

* test262/config.yaml:

Source/JavaScriptCore:

The nullish operators `??` and `?.` are likely going to stage 4 at
the December TC-39 meeting so we should probably just enable them
by default.

* parser/Lexer.cpp:
(JSC::Lexer<T>::lexWithoutClearingLineTerminator):
* runtime/OptionsList.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@252559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JSTests/ChangeLog
JSTests/test262/config.yaml
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/parser/Lexer.cpp
Source/JavaScriptCore/runtime/OptionsList.h