はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    新内閣発足

『h3manth.com』

  • 人気
  • 新着
  • すべて
  • ES2023 features list

    4 users

    h3manth.com

    ES2023 Features! Array find from last Hashbang Grammar Symbols as WeakMap keys Change array by copy Array find from last Array.prototype.findLast and Array.prototype.findLastIndex 📕 let nums = [5,4,3,2,1]; let lastEven = nums.findLast((num) => num % 2 === 0); // 2 let lastEvenIndex = nums.findLastIndex((num) => num % 2 === 0); // 3Hashbang Grammar #! for JS 📕 The first line of this script begins

    • テクノロジー
    • 2023/05/20 11:42
    • ES2021 features list

      4 users

      h3manth.com

      ES2021 Features! Logical Assignment Operators (&&= ||= ??=) Numeric Separators (1_000) Promise.any & AggregateError String.prototype.replaceAll WeakRefs & FinalizationRegistry Objects Logical Assignment Operators Logical Assignment Operators 📖. //"Or Or Equals" x ||= y; x || (x = y); // "And And Equals" x &&= y; x && (x = y); // "QQ Equals" x ??= y; x ?? (x = y);const updateID = user => { // We c

      • テクノロジー
      • 2021/06/26 11:07
      • ECMAScript
      • JavaScript
      • programming
      • あとで読む
      • sorting algorithms in javascript

        16 users

        h3manth.com

        Sorting Algorithms in Javascript This is just for quick reference does not really talk about CS theory for now. Bubble Sort: let compare = (n1, n2) => n1 - n2; let bubbleSort = (arr, cmp = compare) => { for (let i = 0; i < arr.length; i++) { for (let j = i; j > 0; j--) { if (cmp(arr[j], arr[j - 1]) < 0) { [arr[j], arr[j - 1]] = [arr[j - 1], arr[j]]; } } } return arr; }; Insertion Sort: let inserti

        • テクノロジー
        • 2015/03/30 11:49
        • javascript
        • algorithm
        • ES6 one liners to show off - Hemanth.HM

          10 users

          h3manth.com

          Here is a collection of ES6 one liners to show off! NodeList to Array:

          • テクノロジー
          • 2014/02/12 22:10
          • ECMAScript
          • javascript
          • es6
          • image
          • development
          • neta
          • ES6 on node.js - Hemanth.HM

            3 users

            h3manth.com

            In my old post I wrote of the same topic using shims. But here I would like to demonstrate many ES6 (harmony) features using raw node.js Let the code do the talking! Node version : v0.11.6 Let's grep some harm ;) : $ node --v8-options | grep harm --harmony_typeof (enable harmony semantics for typeof) --harmony_scoping (enable harmony block scoping) --harmony_modules (enable harmony modules (implie

            • テクノロジー
            • 2013/09/07 08:21
            • プログラミング
            • javascript
            • JavaScript vs Jquery+CoffeeScript

              5 users

              h3manth.com

              A simple collections of examples for doing most common tasks in Raw JavaScript vs Jquery+CoffeeScript. This page is build by hand using CSS3 and HTML5 Use the navigation menu on the left to navigate to a particular sub topic, note this page does not make use of any JS ;) and is heavy inspired by Eric Bidelman's Jq vs JS Finally in case of any bugs, please feel free to contact me Document is ready?

              • テクノロジー
              • 2013/05/16 01:58
              • CoffeeScript
              • javascript
              • jQuery
              • gem list to gemfile | Experiments on GNU/Linux

                3 users

                h3manth.com

                Say you have n-machines that needs to be in sync with their ruby gem versions, we can have one system to update all as per need and then create this Gemfile and distribute the same. Here is a simple chunk of code that would help to convert all the gems install to a gemfile, which can later be used with bundler. def make_gemfile [:each_default,:each_normal].flat_map { |sym| Gem::Specification.to_e

                • テクノロジー
                • 2013/04/18 10:58
                • ruby
                • Classes in JavaScript ES6 | Experiments on GNU/Linux

                  3 users

                  h3manth.com

                  Well, well... there are so many JavaScript frameworks that already try to implement classes as per the classical Object Oriented Class definition. But, with harmony (ES6) implementing classes like classical OO shall be possible. This might be something like the IPv6 boom, most of the JavaScript hackers are used to making use of first class functions as classes and that shall remain along with this

                  • テクノロジー
                  • 2012/07/01 00:00
                  • ECMAScript

                  このページはまだ
                  ブックマークされていません

                  このページを最初にブックマークしてみませんか?

                  『h3manth.com』の新着エントリーを見る

                  キーボードショートカット一覧

                  j次のブックマーク

                  k前のブックマーク

                  lあとで読む

                  eコメント一覧を開く

                  oページを開く

                  はてなブックマーク

                  • 総合
                  • 一般
                  • 世の中
                  • 政治と経済
                  • 暮らし
                  • 学び
                  • テクノロジー
                  • エンタメ
                  • アニメとゲーム
                  • おもしろ
                  • アプリ・拡張機能
                  • 開発ブログ
                  • ヘルプ
                  • お問い合わせ
                  • ガイドライン
                  • 利用規約
                  • プライバシーポリシー
                  • 利用者情報の外部送信について
                  • ガイドライン
                  • 利用規約
                  • プライバシーポリシー
                  • 利用者情報の外部送信について

                  公式Twitter

                  • 公式アカウント
                  • ホットエントリー

                  はてなのサービス

                  • はてなブログ
                  • はてなブログPro
                  • 人力検索はてな
                  • はてなブログ タグ
                  • はてなニュース
                  • ソレドコ
                  • App Storeからダウンロード
                  • Google Playで手に入れよう
                  Copyright © 2005-2025 Hatena. All Rights Reserved.
                  設定を変更しましたx