Grace's Blog

HomeFriendsBadges
Blog Author Picture

Grace Jeong

6 followers

Frontend Developer living in Toronto

JavaScript: 'const' and 'let' (Don't use 'var' ever!)

Feb 6, 20212 min read

Before 'const' and 'let' introduced, 'var' had been used for declaring variables. It caused a lot of issues. We understand we should not use the 'var' anymore. But why? Let's find out the reason through a simple example. let let age = 20; let canDri...

JavaScript: JSON

Jan 16, 20211 min read

JSON(JavaScript Object Notation) is very useful when you work with data. The first thing we should know is how to convert an object to JSON and a JSON to an object. There is a simple way to do it. stringify (Object -> JSON) const person = { name...

JavaScript: Rest parameters

Jan 10, 20211 min read

How can I get an indefinite number of arguments as an array in a function? First, I will try this way. const printAll = (args) => { console.log(args); }; printAll(1, 3, 5, 7, 10); I can get only the first argument of the array. That's not wha...

Git: Tag

Dec 22, 20201 min read

We can mark specific points on a repository's history by using a tag. Especially, it is useful to mark the release version. Create a tag $ git tag [tag name] [hash] ex) $ git tag v1.0 9de015c If you use git tag [tag name] without a hash name, a tag...

Git: Log (filtering)

Dec 20, 20202 min read

The Log command has options that you can filter the commit history, so it helps you to work on the project more efficiently with your team members. You can search the specific commit history by author, date, message, code, and file. By author $ git ...

Git: log

Dec 20, 20201 min read

Git Log command is very useful to manage the version of the project. In order to check the commit history of the project, you can use the command. $ git log When you use the below command, you can check a simple version. $ git log --oneline // ...

© 2021 Grace's Blog

PrivacyTerms
Proudly part of