Skip to content

json examples fix #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions 16_Day/16_day_json.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ const users = {
}
}

const text = JSON.stringify(users, undefined, 4)
console.log(text) // text means JSON- because json is a string form of an object.
const txt = JSON.stringify(users, undefined, 4)
console.log(txt) // text means JSON- because json is a string form of an object.
```

```sh
Expand Down Expand Up @@ -446,8 +446,8 @@ const user = {
points: 30
}

const text = JSON.stringify(user,['firstName', 'lastName', 'country', 'city', 'age'],4)
console.log(text)
const txt = JSON.stringify(user,['firstName', 'lastName', 'country', 'city', 'age'],4)
console.log(txt)
```

```sh
Expand Down Expand Up @@ -594,4 +594,4 @@ const text = `{

🎉 CONGRATULATIONS ! 🎉

[<< Day 15](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/15_Day/15_day_classes.md) | [Day 17 >>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/17_Day/17_day_web_storage.md)
[<< Day 15](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/15_Day/15_day_classes.md) | [Day 17 >>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/17_Day/17_day_web_storage.md)