Coder Social home page Coder Social logo

05. 함수 · GitBook about learnjs HOT 25 OPEN

velopert avatar velopert commented on May 29, 2024
05. 함수 · GitBook

from learnjs.

Comments (25)

selena-jiyun-lee avatar selena-jiyun-lee commented on May 29, 2024 3

' (Single quote) 대신에 ~와 같이 적혀진 `(Grave accent)를 사용하셔야 합니다!

from learnjs.

saewookkangboy avatar saewookkangboy commented on May 29, 2024

// Hello, name! 관련한 예시 중에

function hello(name) {
return 'Hello ${name}!'
}

const result = hello('chunghyo')
console.log(result)

이렇게 했을 때, codesandbox 에서는 Hello ${name}! 이렇게 console에 결과값이 노출되는데요.
위의 예시에 나와 있는 로그로 정리를 해도 동일한 결과 값이 나옵니다.

from learnjs.

sanghee-dev avatar sanghee-dev commented on May 29, 2024

console.log(add(1, 2));는 지저분해서 안쓰는 건가요?

from learnjs.

hyerimhan avatar hyerimhan commented on May 29, 2024

작은따옴표('')가 아닌 백틱(``)을 쓰셔야합니당

from learnjs.

yongyonghw avatar yongyonghw commented on May 29, 2024

본문에 templete literal 백틱 `` 이 명시되어있으면 좋겠어요

from learnjs.

allsilver925 avatar allsilver925 commented on May 29, 2024

22.02.24

from learnjs.

KoreanCodingMachine avatar KoreanCodingMachine commented on May 29, 2024

템플릿 리터럴 / 화살표 함수

from learnjs.

Jibros avatar Jibros commented on May 29, 2024

22.03.22

from learnjs.

zuzubibi avatar zuzubibi commented on May 29, 2024

22.03.22

from learnjs.

ztc0320 avatar ztc0320 commented on May 29, 2024

2022.04.08

from learnjs.

codelua83 avatar codelua83 commented on May 29, 2024

22.05.24

from learnjs.

LaurenSung avatar LaurenSung commented on May 29, 2024

22.06.28

from learnjs.

jdaria avatar jdaria commented on May 29, 2024

22.07.06

from learnjs.

studyToStudy avatar studyToStudy commented on May 29, 2024

22.08.14

from learnjs.

neoseurae12 avatar neoseurae12 commented on May 29, 2024

22.08.19

from learnjs.

neoseurae12 avatar neoseurae12 commented on May 29, 2024

나중에 알아볼 내용 : 화살표 함수와 일반 function 으로 만든 함수와의 주요 차이점은 화살표 함수에서 가르키는 this 와 function 에서 가르키는 this 가 서로 다르다는 것

from learnjs.

jkf87 avatar jkf87 commented on May 29, 2024

템플릿리터럴이 예제 편집기 consolelog에서는 안먹는것 같습니다

from learnjs.

jkf87 avatar jkf87 commented on May 29, 2024

아 백틱으로 해결했습니다

from learnjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.