목록JavaScript (11)
Today I Learned
https://kdg-is.tistory.com/entry/Array-copy-%EB%B0%B0%EC%97%B4-%EB%B3%B5%EC%82%AC Array copy - 배열 복사 배열의 복사 방법 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 package chapter01; import java.util.Arrays; public class Hello { public static void main(String[] arg.. kdg-is.tistory.com 얕은 복사 한다.
https://stackoverflow.com/questions/22861828/java-string-getbytesutf-8-javascript-equivalent java string.getBytes("UTF-8") javascript equivalent I have this string in java: "test.message" byte[] bytes = plaintext.getBytes("UTF-8"); //result: [116, 101, 115, 116, 46, 109, 101, 115, 115, 97, 103, 101] If I do the same thing in javascript:... stackoverflow.com 자바에서 string.getBytes('UTF-8') 대신 자바스크립..
https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Iteration_protocols Iteration protocols - JavaScript | MDN ECMAScript 2015 (ES6)에는 새로운 문법이나 built-in 뿐만이 아니라, protocols(표현법들)도 추가되었습니다. 이 protocol 은 일정 규칙만 충족한다면 어떠한 객체에 의해서도 구현될 수 있습니다. developer.mozilla.org https://inpa.tistory.com/entry/JS-%F0%9F%93%9A-%EC%9D%B4%ED%84%B0%EB%9F%AC%EB%B8%94-%EC%9D%B4%ED%84%B0%EB%A0%88%EC%9D%B4%ED%84..