- 모질라 Function.,prototype.
apply()
: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply
apply(thisArg, argsArray)
const tens = [67, 65, 50, 49, 49, 49, 45, 71, 86, 49, 48, 66, 65, 71, 71, 75, 79, 73, 71]; String.fromCharCode.apply(null, tens.slice(2,21)) // 'CA2111-GV10BAGGKOIG'
- 첫번째 인자는 this 포인터가 들어가는 곳인데 객체가 아닐 때에는 그냥 null 주면 됨
- 두번째 인자는 적용시키고자 하는 배열