본문 바로가기

Javascript19

Array.prototype.at() https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at Array.prototype.at() - JavaScript | MDN The at() method takes an integer value and returns the item at that index, allowing for positive and negative integers. Negative integers count back from the last item in the array. developer.mozilla.org at() 메소드는 정수 인덱스 값을 가지고 인덱스 정수 번째에 위치한 아이템을 반환한다. 인덱스는 음수와 양수가 가.. 2021. 11. 2.
JavaScript Function Parameters A JavaScript function does not perform any checking on parameter values (arguments). 자바스크립트 함수는 파라미터 값들(인수들)에 대한 체크를 수행하지 않는다. Function Parameters and Arguments Earlier in this tutorial, you learned that functions can have parameters: function functionName(parameter1, parameter2, parameter3) { // code to be executed } Function parameters are the names listed in the function definition. Function .. 2021. 8. 31.
const 변수 선언에서 유의할 점 추가로 수정이 이루어져야하는 변수는 var 또는 let을 사용해야한다. 2021. 8. 30.
JavaScript Promises https://www.w3schools.com/js/js_promise.asp JavaScript Promises JavaScript Promises "I Promise a Result!" "Producing code" is code that can take some time "Consuming code" is code that must wait for the result A Promise is a JavaScript object that links producing code and consuming code JavaScript Promise Object A Java www.w3schools.com JavaScript Promises 자바스크립트 프라미스 "I Promise a Result!" "저는 결.. 2021. 7. 8.