Post Archive with Feature Rows

자바스크립트 toFixed() 0 없애기

2021-04-26

자바스크립트에서 숫자를 정확한 자릿수로 표현하기 위해 toFixed() 를 사용한다. toFixed() 는 지정한 자릿수보다 짧은 수일 때 뒤를 0으로 채우는데, 경우에 따라서 0을 제거할 경우가 생긴다.

vscode javascript sort import 자동정렬

2021-03-23

코드에 import 를 추가 할 때도, 어느 위치에 넣을지 은근히 신경쓰이기 때문에, 자동으로 정렬해주는 기능을 좋아한다. 여러 방법이 있겠지만, 플러그인을 사용하는 방법과 vscode 설정으로 처리하는 2가지 방법을 적어본다.

placeholder image 1

Placeholder 1

This is some sample content that goes here with Markdown formatting.

placeholder image 2

Placeholder 2

This is some sample content that goes here with Markdown formatting.

Read More

Placeholder 3

This is some sample content that goes here with Markdown formatting.

placeholder image 2

Placeholder Image Left Aligned

This is some sample content that goes here with Markdown formatting. Left aligned with type="left"

Read More

placeholder image 2

Placeholder Image Right Aligned

This is some sample content that goes here with Markdown formatting. Right aligned with type="right"

Read More

placeholder image 2

Placeholder Image Center Aligned

This is some sample content that goes here with Markdown formatting. Centered with type="center"

Read More