Vue.js tutorial for biginer https://github.com/Kyuden/one-night-vue
Promiseの(Promiseと言ってもES6 Promisesじゃなくてbluebirdなんだけど)catch内でのreturnとthrowの挙動の違いについて知らなくて試したのでメモ。 環境はnode.js 0.10.33とbluebird 2.3.11です。 var Promise = require('bluebird'); function a() { return new Promise(function(resolve, reject) { reject(1); }).catch(function(err) { return err; }); } a().then(function(data) { console.log('then'); console.log(data); });
V8にES6テンプレートリテラルが入ったらしいということで、 テンプレートリテラルが実装された - JS.next 先に入っているFirefox 34(現beta)で遊んでみた。 埋め込み変数は即時評価 埋め込み変数は即時評価なので、テンプレートリテラルが評価される時点で定義されない変数を埋め込みに使うとエラーになってしまう。 var name = 'Taro'; console.log(`Hello, ${name}.`); // 'Hello, Taro.' console.log(`Hello, ${hoge}.`); // ReferenceError: hoge is not defined' そうすると、Viewクラスのプロパティにテンプレートを持っていて任意のタイミングで呼ぶみたいなことができず、同じテンプレートでも使うところで毎回リテラルを書く必要がある*1。 // Vie
Welcome to my Courses Welcome to my educational site, where I'm dedicated to empowering learners of all levels with high-quality, accessible education. My platform is a treasure trove for those passionate about expanding their knowledge in cutting-edge programming languages and paradigms, offering a suite of comprehensive courses entirely for free. Courses Dive into the world of functional progra
Jonathan Beebe http://www.nodevember.org/speakers/jonathan-beebe
In part 1, we saw how to write and execute JavaScript using the DevTools. In part 2, we'll look at debugging JavaScript and adopting a workflow such that solving JavaScript errors and diagnosing problems becomes more efficient. Debugging JavaScript Using the DevTools Debugger Keyword You can use the debugger keyword directly in your code to invoke the debugging capabilities (if any) of the JavaScr
Nodevember is a two-day conference touching on all aspects of JavaScript programming. The conference includes seminars, workshops, tutorials, code sprints, a...
Crossroads.js is a routing library inspired by URL Route/Dispatch utilities present on frameworks like Rails, Pyramid, Django, CakePHP, CodeIgniter, etc... It parses a string input and decides which action should be executed by matching the string against multiple patterns. If used properly it can reduce code complexity by decoupling objects and also by abstracting navigation paths. See project pa
Deku is a library for rendering interfaces using pure functions and virtual DOM. Instead of using classes and local state, Deku just uses functions and pushes the responsibility of all state management and side-effects onto tools like Redux. It also aims to support only modern browsers to keep things simple. It can be used in place of libraries like React and works well with Redux and other librar
JavaScript, ECMA–262, TC39, and ECMAScript Transpilers Explained IntroductionWhat is JavaScript? There are many correct answers to this question, but I think the most modern, succinct, and accurate answer is that JavaScript is the implementation of the ECMAScript specification. JavaScript is similar to HTML and CSS in that they are all implementations of a very well-defined specification. I would
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く