alongubkin / alongubkin/spider

Conditional Expression without else

Open
#102 6 comments 0 reactions 0 assignees View on GitHub
contributing-getting-started need-feedback proposal
Dominant language
JavaScript
Stars
1.3k
Forks
46
PR merge metrics
No merged PRs in 30d

Description

```
var v = x if a;
```

compiles to:

```
var v = x if a else null;
```

which compiles to:

```
var v = a ? x : null;
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.