You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
もずはっく日記(2014年2月) 2014年2月22日 Bug-org 969247 Get rid of related code of NS_VK_ENTER and nsIDOMKeyEvent::DOM_VK_ENTER 初回投稿日時: 2014年02月22日14時29分33秒 カテゴリ: Events Javascript Mozilla Core Mozilla30 バグ修正 SNS: Tweet (list) Geckoには開発初期段階から、VK_RETURNというキーコードと、VK_ENTERというキーコードの二つがあり、コア開発者、UI開発者共にその違いに悩まされてました。実際には、VK_ENTERはGonkが間違ったマッピングを行っていた以外には使われていないものなので、削除することにしました。 この修正により、VK_ENTERのハンドラは削除され、テストでVK_E
Don't Make Javascript Equality Look Worse Than It Is 27 Mar 2014 Every now and then someone posts a table showing what values are equivalent according to javascript's == operator, like this recent example. Then they point out how disorganized the table is. These posts are fundamentally right about == being poorly designed... but they make things look worse by failing to organize the table. For exa
JavaScript has two zeros: −0 and +0. This post explains why that is and where it matters in practice. The signed zero Numbers always need to be encoded to be stored digitally. Why do some encodings have two zeros? As an example, let’s look at encoding integers as 4-digit binary numbers, via the sign-and-magnitude method. There, one uses one bit for the sign (0 if positive, 1 if negative) and the r
Follow the slides at http://goo.gl/U2vuT Performance optimization... what's that? Today, we're going to talk about Raw JavaScript Execution Performance with now ... Made in Germany Who cares about performance? You should. JavaScript Performance Matters
JavaScript: サロゲートペアと不正なバイト列を考慮して文字列の長さを求めるJavaScript: String.prototype.codePointAt を定義するJavaScript: String.fromCodePoint を定義するJavaScript: 孤立したサロゲートを考慮してコードポイントから文字列を生成する JavaScript: for…of 構文を使ってコードポイント単位で文字にアクセスするJavaScript: 文字列を配列に変換するJavaScript: 文字列を逆順に並べ替える2015年1月18日追記。この記事の内容は Qiita に移行しました。 codePointAt を使って基本的な文字列メソッドを定義するfor…of を使って基本的な文字列メソッドを定義する サロゲートペアが含まれていなければ、str.split(“”).reverse().
Several months have passed since support for generator functions and the yield keyword arrived in Node.js v0.11.2. This news was greeted with great excitement, because generator syntax provides a much cleaner alternative to using callbacks when writing asynchronous server-side code. One of the biggest benefits of using JavaScript on the server is that you can (in theory at least) run the very same
The way JavaScript handles Unicode is… surprising, to say the least. This write-up explains the pain points associated with Unicode in JavaScript, provides solutions for common problems, and explains how the ECMAScript 6 standard improves the situation. Unicode basics Before we take a closer look at JavaScript, let’s make sure we’re all on the same page when it comes to Unicode. It’s easiest to th
The code in an app defines its behavior. Understanding how your app executes its code can help you improve its performance. How your app executes code Two of the most important things to know about how your app executes code is that app code is event driven and all components share the same thread. Event driven The Windows Store app using JavaScript platform is event-driven. This means that your c
💡 Personal notes about somthing I'm interested in Date.parse(‘1999-07-07’)を実行すると、値は931305600000とUTCのタイムゾーンで解釈されるのに対して、Date.parse(‘1999/07/07’)を実行すると、値は931273200000とJSTのタイムゾーンで解釈される。あ、ローカルの時間がJSTの場合。現時点(Firefox 24、Chrome 31) Date.parseでは引数に与えられた文字列をパースして、ミリ秒の値を値を返してくれます。タイムゾーンの指定がない場合はローカルのタイムゾーンとして解釈される。ECMA-262では、以下のように説明されています(太字は私がつけた)。 15.9.4.2 Date.parse (string) The parse function applies t
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015. Learn moreSee full compatibilityReport feedback The toLocaleString() method of Number values returns a string with a language-sensitive representation of this number. In implementations with Intl.NumberFormat API support, this method delegates to Intl.NumberForm
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く