basarat / basarat/typescript-book

Object literal property shorthand

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

http://stackoverflow.com/a/33271578/390330

```
return { temperature:temperature, humidity:humidity};
```

Checkout New notations in ES6 : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked Stack Overflow answer and MDN object-initializer documentation, then locate the book passage containing the shown temperature and humidity object literal. Done means that passage covers the ES6 property shorthand notation accurately; the issue names no file or section.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.