あなたにとって重要なトピックや同僚の最新情報を入手しましょう最新の洞察とトレンドに関する最新情報を即座に受け取りましょう。 継続的な学習のために、無料のリソースに手軽にアクセスしましょうミニブック、トランスクリプト付き動画、およびトレーニング教材。 記事を保存して、いつでも読むことができます記事をブックマークして、準備ができたらいつでも読めます。
Perhaps the most important thing you can learn to be a better coder is to keep things simple. In the context of identifiers, that means that a single identifier should only be used to represent a single concept. Sometimes it’s tempting to create an identifier to represent some data and then use that identifier as a temporary place to store values in transition from one representation to another. F
JSer.info #253 - What’s in ECMAScript 2016 (ES7)?という記事では、最近よく見るECMAScript 2016(ES7)というのは実際には何の事を言ってるのかについて書かれています。 TC39とは何か?、今後(ES7から)は機能ごとのProposalとなってること、どのように策定が進んでいくかといったことについて書かれています。 以前自分が書いたIntroduction | ECMAScriptとは何か?や記事と扱ってる内容はかなり近いです。 合わせてES6のエディタであるAllenさんのインタビューも読むと、今後どのようになっていくかが分かりやすいです。 ECMAScript 2015はなぜ策定まで時間がかかったか? 仕様策定のリーダー、アレン・ワーフスブラック氏に聞く:CodeZine(コードジン) 上記の記事と同時期にES6 in Pra
Today, the Kinoma team has completed the move to JavaScript 6th Edition by delivering a firmware update to Kinoma Create and a new version of Kinoma Studio. Both use Kinoma’s XS6 JavaScript engine, an independent implementation optimized for embedding JavaScript in hardware products and applications. XS6 remains the most thorough implementation based on the Kangax compatibility tests, implementing
JavaScriptで配列を駆使するようなプログラムを書くことも多いですが、状況によっては標準のメソッドを使うより、手書きでループを回したほうが速いこともあります。 Qiitaの記事を読んでいて 少し前に投稿されたTypeScriptの記事を見ていたのですが、その中で、 重大なボトルネックとなりうるため全体で100msに1回以上の間隔で実行される場合を除き以下のメソッドを原則使用禁止とする。 Array#concat Array#slice Array#splice なんていう記述がありました。さすがに「え、そうなの?」と思いましたが、すぐ下に付いていたベンチマークは、たしかにそのような結果を示しました。 そうなる理由 もちろん、ネイティブに実装してあることもあるような標準メソッドが、JavaScript上に実装したものより遅いというのはさすがにおかしいので、調べてみました。すると、原因が
ECMASCript2015 Language Specificationの一人輪読会資料。 前回までは翻訳メモみたいなのをペタッと貼っただけでしたが、今回からやり方をちょっと変えて、 翻訳メモはGithubのリポジトリ(雑な訳が多いですが。。。)にpushし、Qiitaの方には理解する上で調べたことをまとめるようにした。 今回は、6.1.6のNumber型についてまとめた。 Number型については、ECMASCript5からほとんど(というかまったく?)変更がないようだが、浮動小数点数についてかなり忘れていたので、調べた。 浮動小数点数のおさらい ECMAScriptのNumber型は、IEEE754-2008(IEEE浮動小数点数演算標準; IEEE Standard for Floating-Point Arithmetic)で定義されている64ビット倍精度の浮動小数点数を表現して
ESLint v9.x end-of-life is 2026-08-06 and will not be maintained after that. Upgrade or consider long-term support options Published 06 Nov, 2015 under Release Notes ESLint v1.9.0 released We just pushed ESLint v1.9.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release. Highlights Here are some highlights of changes
'fast-async' is a Babel plugin that implements the ES7 keywords async and await using syntax transformation at compile-time, rather than generators. For Babel v6.x.x install fast-async@6 For Babel v7.x.x install fast-async@7 NB: Babel 7 is in beta. The core nodent functionality is due to be included in Babel 7 release - see babel/babel#7076 The main reason for using 'fast-async' as opposed to Babe
Remember that crazy Javascript quiz from 6 years ago? Craving to solve another set of mind-bending snippets no sensible developer would ever use in their code? Looking for a new installment of the most ridiculous Javascript interview questions? Look no further! The "ECMAScript Two Thousand Fifteen" installment of good old Javascript Quiz is finally here. The rules are as usual: Assuming ECMA-262 6
ECMAScript6にシンボルができた理由 で紹介されている Symbol の使い方を見て、fmfm するためのエントリです。 似て非なる 2つの NativeObject 拡張ライブラリを同時に読み込むとどうなるか 例 Array に JSON.stringify(Array) 相当の機能を拡張するライブラリが2つ(AwesomeArray.js, ExArray.js)あります。これらを読み込むと Array#toJSON が拡張されます。 AwesomeArray.js と ExArray.js には、カンマの後ろにスペースがある/ない という違いがあります。 ES5 式 ES5 で書かれた AwesomeArray.js と ExArray.js です。 ES5 までは、AwesomeArray.js を読み込んだ後に ExArray.js を読み込むと、AwesomeArray
Stay Relevant and Grow Your Career in TechPremium ResultsPublish articles on SitePointDaily curated jobsLearning PathsDiscounts to dev toolsStart Free Trial7 Day Free Trial. Cancel Anytime. Key Takeaways Object.observe, also known as O.o, is a feature to be added to JavaScript as part of ECMAScript 7 to support object change detection natively in the browser. It works directly on the object withou
Stay organized with collections Save and categorize content based on your preferences. ES2015 (formally ES6) is a fantastic step forward for the JavaScript language. It brings new features and sugaring for patterns that required significant boilerplate in ES5. This includes classes, arrow functions and modules. In this episode, we cover tools we use to take full advantage of ES2015 when building J
Mudit Ameta ECMAScript 6, or the 6th edition of ECMA-262 standard, gives JavaScript developers new tools for writing more succinct and modular code. In this article, I’ll cover how we can use four of these features – iterables, generators, fat arrows, and for-of – in conjunction with higher-order functions, function composition, and lazy evaluation, to write cleaner and more modular JavaScript. Be
async/await は ES7 の機能で、非同期処理を記述する上で非常に便利な機能である(仕様は安定していないと思う) まだ実装している処理系はないと思うが、babel などの transpiler をつかうと利用できる async/await をつかうと非同期処理を以下のように書くことができる function a() { return new Promise(function(resolve, reject) { setTimeout(function() { resolve('hello, ') }, 0) }) } async function b() { var value = await a() return value + 'world' } async function c() { var value = await b() console.log(value) ret
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く