<commit_before><!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Template</title>
    <link rel="stylesheet" href="../css/reveal.css"/>
    <link rel="stylesheet" href="../css/theme/default.css" id="theme"/>
    <link rel="stylesheet" href="../lib/css/zenburn.css"/>
  </head>
  <body>
    <div class="reveal">
      <div class="slides">
        <section>
          <h1>JavaScript</h1>
          <pre><code>console.log("Hello World");</code></pre>
        </section>
        <section>
          <h2>Numbers</h2>
          Numbers in JavaScript are IEEE-754 double pricision format.
          <img src="http://upload.wikimedia.org/wikipedia/commons/a/a9/IEEE_754_Double_Floating_Point_Format.svg"/>
          <small>http://upload.wikimedia.org/wikipedia/commons/a/a9/IEEE_754_Double_Floating_Point_Format.svg</small>
          <br/>
          +/- (2^53 - 1) maximum int value.
          <pre><code>
            Math.pow(2, 53) === Math.pow(2, 53) + 1; // true
          </code></pre>
          Infinity, -Infinity, NaN, 0, -0.
          <pre><code>
            0.1 + 0.2 === 0.3; // false
          </code></pre>
        </section>
        <section>
          <h2>Strings</h2>
          <pre><code>
            "abc" + "def"; // "abcdef"
            "hello world"[4]; // "o"
          </code></pre>
          UCS2 encoding.
        </section>
        <section>
          <h2>Dates</h2>
          <pre><code>
            Date.now(); // Milliseconds since Epoch (Jan 1 1970)
            var today = new Date();
            today.getDate();
            today.getMonth();<commit_msg>Mispelled precision fix.<commit_after><!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Template</title>
    <link rel="stylesheet" href="../css/reveal.css"/>
    <link rel="stylesheet" href="../css/theme/default.css" id="theme"/>
    <link rel="stylesheet" href="../lib/css/zenburn.css"/>
  </head>
  <body>
    <div class="reveal">
      <div class="slides">
        <section>
          <h1>JavaScript</h1>
          <pre><code>console.log("Hello World");</code></pre>
        </section>
        <section>
          <h2>Numbers</h2>
          Numbers in JavaScript are IEEE-754 double precision format.
          <img src="http://upload.wikimedia.org/wikipedia/commons/a/a9/IEEE_754_Double_Floating_Point_Format.svg"/>
          <small>http://upload.wikimedia.org/wikipedia/commons/a/a9/IEEE_754_Double_Floating_Point_Format.svg</small>
          <br/>
          +/- (2^53 - 1) maximum int value.
          <pre><code>
            Math.pow(2, 53) === Math.pow(2, 53) + 1; // true
          </code></pre>
          Infinity, -Infinity, NaN, 0, -0.
          <pre><code>
            0.1 + 0.2 === 0.3; // false
          </code></pre>
        </section>
        <section>
          <h2>Strings</h2>
          <pre><code>
            "abc" + "def"; // "abcdef"
            "hello world"[4]; // "o"
          </code></pre>
          UCS2 encoding.
        </section>
        <section>
          <h2>Dates</h2>
          <pre><code>
            Date.now(); // Milliseconds since Epoch (Jan 1 1970)
            var today = new Date();
            today.getDate();
            today.getMonth();
{'fraction_non_alphanumeric': 0.18066315463278587, 'fraction_numerical': 0.02850945150294391, 'mean_word_length': 1.7875647668393781, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7308381', 'n_tokens_mistral': 1115, 'n_tokens_neox': 1043, 'n_words': 195}