ES6_quiz.md ECMAScript6th Quiz Q.1 let func = function() {}; func.name "" "func" "anonymous" undefined Q.2 var DOLPHIN = "\ud83d\udc2c"; DOLPHIN.length + [...DOLPHIN].length 2 3 4 Q.3 var sym1 = Symbol(), sym2 = Symbol(); var o1 = {}, o2 = {}; Object.defineProperties(o2, { [sym1]: { value: "Sym 1", enumerable: true }, [sym2]: { value: "Sym 2"} }); Object.assign(o1, o2); Object.getOwnPropertySymbol
{{#tags}}- {{label}}
{{/tags}}