![article thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbaEHR2%2FbtsJeB38MT0%2F6LDwnlPN7sofDkdbXtgwJk%2Fimg.png)
[유데미x스나이퍼팩토리] 프로젝트 캠프 : React 2기 - 사전직무교육 1주차
유데미 react
2024. 8. 25. 21:41
✅ 이번주 배운 내용자바스크립트 기본문법, 타입스크립트 기초, 리액트 기초 자바스크립트 기본 문법템플릿 문자열const name = '철수';const helloTemplate = `${name}야, 머해`;console.log(helloTemplate); 템플릿 문자열은 기존의 큰 따옴표나 작은 따옴표 대신에 백틱 기호로 문자열을 정의하는 방법을 말한다.템플릿 문자열은 변수를 대입할 수 있다는게 가장 큰 장점이다. 화살표 함수es6에서 새롭게 등장한 함수 선언 방법이다.1.일반함수function printHello() { retrun 'hello'; } console.log(printHello()); //hello 2.화살표 함수매개변수가 없을 때const printHello = () => { re..