consoleオブジェクトの中身を見てみると、__proto__オブジェクトに以下のメソッドが定義されています。
- assert
- count
- debug
- dir
- dirxml
- error
- group
- groupCollapsed
- groupEnd
- info
- log
- markTimeline
- profile
- profileEnd
- time
- timeEnd
- timeStamp
- trace
- warn
Principles of User Interface Design
“To design is much more than simply to assemble, to order, or even to edit; it is to add value and meaning, to illuminate, to simplify, to clarify, to modify, to dignify, to dramatize, to persuade, and perhaps even to amuse.” - Paul Rand
各種スマートフォンJSフレームワークやサーバーサイドのnode.jsなどJavaScriptは八面六臂の活躍が目立つ昨今ですが、ここは敢えて基本に戻ってJavaScript言語自体に目を向けてお勉強しましょうの会♪ 基本あっての応用です(`・ω・´)キリッ
- Lexical scoping. Now “let” is the new “var” – traditional “var” declarations are complemented with “let” and “const”. Both are properly block-scoped bindings, eliminating a common source of errors and weird behaviour. Function declarations are now officially allowed in local scope as well, and also obey lexical scoping. (Note: Lexical scoping is only available in ES strict mode.)
- Collections. Efficient maps and sets will make your life easier. Any value can be used as a key or element, including objects. No surprises, no more need to abuse objects as dictionaries. (Caveat: Iteration over collections is not yet specified.)
- Weak maps. A special kind of map for which the garbage collector determines when a key is no longer reachable, so that the key-value pair can be removed from the map automatically. This goes a long way towards avoiding memory leaks in long-lived tables and relieves the developer from worrying about stale entries.
- Proxies. A proxy simulates a JavaScript object or function, and can customize just about any aspect of their behaviour that you can imagine. This is a real power feature, that takes reflection to a new level and can be used to implement various advanced abstractions and interfaces.
やりたいこと:
JSローダーうまいこといいやつにしたい
0. 全部script書いたりdocument.writeでscript書いたりなど
good: 誰が見たってわかる
bad: レンダリングブロックする乙
...
kanazawa.js v0.0.1 ゆるふぁーでJS勉強したらいいんじゃねーのーのー : ATND
“毎日のように新しい技術と情報が飛び込んでくるWeb業界。
・勉強しないとまずいなーとおもいつつ、なかなか時間がつくれない。
...