This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2015. * Some parts of this feature may have varying levels of support. Learn moreSee full compatibilityReport feedback Symbol is a built-in object whose constructor returns a symbol primitive — also called a Symbol value or just a Symbol — that's guaranteed to be
ガール・ミーツ・スーパーガール 今年はサンマがたくさん獲れているらしい。 どのスーパーに行っても今が旬だよ、今日とかめっちゃお買い得だよ、みたいな感じで売られている。実際キラキラしていておいしそうだ。でも乱獲が問題視されてなかったっけ?私が婆さんになっても海にはサンマが泳いでいてほ…
After our recent blogs about JägerMonkey, some articles out there gave the impression that we were removing nanojit, throwing everything away, or doing all sorts of other radical things that we are not in fact doing. I don’t have a huge problem with that–this is complicated stuff and it’s hard to get right. So Chris Blizzard made a post correcting some of the misconceptions. I thought it might als
MXR replaced by DXR The MXR code indexing and cross-referencing service has been retired and replaced by DXR Based on your query, we suggest the following DXR URL: DXR url? Please Do Not Hotlink Files Please do not hotlink files directly from MXR or DXR as a way of getting Mozilla code into your project. You may not get the latest version, and your performance will suffer. If you want to incorpora
2 進数や 16 進数を使いたいというとき、JavaScript では組み込みの機能を利用できます。使えるのは 16 進数だけではなく、2 進数から 36 進数 (0 ~ 9 および a ~ z を使用) まで扱えます。 n 進数文字列から数値への変換 n 進数文字列から数値へと変換するときは、parseInt 関数を使います。第 2 引数に基数 n を指定することで、第 1 引数の文字列を n 進数であると解釈してくれます。n は 32 ビット整数に変換され、その値が 2 未満または 36 を超えるときは NaN が返ります。ただし、n が 0 になるときは文字列が 10 進数表記であるとして解釈されます。 parseInt(10, 36); // 36 parseInt("10", 0x100000000 + 36); // 36 基数が明示されておらず、文字列が 0 から始まっていた
相変わらずjavascript golfがはやってんな。twitterでもいろいろやり取りされてて、なかなか楽しそうだ。そんな中、delete blank linesの記録が更新された。33Bだ。 もともと、この→https://bugzilla.mozilla.org/show_bug.cgi?id=355827バグのために、readline()の空行(blank lines)とEOFが区別できず、それを回避したコードで35Bだった。35Bはこんな↓感じだ。 for(r=readline;l=r()||r();)print(l) EOFと空行が区別できると、 for(;l=readline(),l!=null;)〜 といった書き方ができる。さらに、 for(;l=readline(),l+0;)〜 といった書き方も可能だ。これは、l が空文字列の時は、''+0 は、'0'という文字列にな
Mozilla Labs » jetpack » Blog Archive » Announcing the Jetpack SDK: First Milestone Release http://mozillalabs.com/jetpack/2010/03/09/announcing-the-jetpack-sdk/ 環境は、MacOS 10.5.8、python2.5(macportsで入れたやつ、もとから入ってるのでもいいと思う) SDKをダウンロードして解凍 % wget https://ftp.mozilla.org/pub/mozilla.org/labs/jetpack/jetpack-sdk-0.1.tar.gz % tar zxvf jetpack-sdk-0.1.tar.gz % cd jetpack-sdk-0.1SDKの環境をロード % source bin/ac
目次 1.0.0 Python から Javascript への変換規則 1.1.0 String and Array 1.2.0 文字列 1.3.0 正規表現 1.4.0 配列 1.5.0 辞書 2.0.0 誤解を受けやすい問題 2.1.0 Javascript の undefined 2.2.0 配列、辞書 2.2.1 x in a 3.0.0 役に立つ関数 3.1.0 属性やメソッドの一覧 4.0.0 Reference Python 使いのための Javascript に関するノート Python と Javascript はシンタックスの上で大きな違いがあるが、内面ではこの二つはよく似ている。 Python から Javascript への変換規則 String and Array このテーブルは単なる僕のメモ 全く不十分である * Python Javasript comme
Firefox web browser - Faster, more secure & customizable a quick note on JavaScript engine components ★ Mozilla Hacks - the Web developer blogにおいて、最近追加された技術も含めてFirefoxで利用されているJavaScript技術が簡単にまとめられている。FirefoxはJavaScriptの処理性能を改善する目的で新しくJaegerMonkey / Nitroを導入したが、従来の技術も含めて若干の誤解が見られるという。簡単に関係を説明することで、こうした誤解を払拭する狙いがある。 ニトロでブースト - Firefox、新しい高速化技術を導入 Firefox 3.6のJavaScript高速化技術まとめ 紹介されている技術をまとめると次のとおり。
This is a wiki for the ongoing specification work of Ecma TC39, the technical committee tasked with standardization of the ECMAScript programming language. Most of the wiki is world-readable, meaning that anyone can view the pages. Certain sections are restricted to members of the technical committee. The wiki is running on DokuWiki, a wiki program for editing documentation. It has several feature
Thanks! Please check your inbox to confirm your subscription. If you haven’t previously confirmed a subscription to a Mozilla-related newsletter you may have to do so. Please check your inbox or your spam filter for an email from us. soumynano So would it be correct to say that you are intending to replace SpiderMonkey’s interpreter with the native-compiler Nitro (and assorted support code)? March
色々教えて貰いました。 uneval @anekos uneval('猫') "\u732B"" 付きでお得(?) echo愛 @anekos :echo $("猫").utf16 i_love_echo.jsが入っていればできますよ これは Vimperator のプラグイン前提。 うちでは*1ちょっとおかしかったので、原因をあとで調べたい。 map 文字毎に javascript:alert(Array.prototype.map.call("猫", function(s){return '\\u'+s.charCodeAt(0).toString(16).toUpperCase()})) \u732BArray で返ってくるので join("") でくっつければOK 自分の JSON を丸ごと処理できないかな、というのもあったので edvakf さんのを書き換えてみた。 Fx 前提だ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く