<commit_before><!DOCTYPE html>
<html>
<head>
  <title>JavaScript Language</title>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css">
  <link rel="stylesheet" href="../styles/mainb.css">
</head>

<body>
  <div class="Container blog">
    <a id = "homelink" href = "blog-template.html">Back</a>
    <h2>T6 Javascript Language</h2>
    <p><strong>In the JavaScript language describe all the use cases for each of the follwing:</strong></p>
    <p>
      <ul>
        <li>parenthesis()
          <ol>
            <li>
              Define a function e.g. function f (parameter 1, parameter 2) {}
            </li>
            <li>
              Prioritizing expression calculations e.g. (a + b) + c
            </li>
            <li>
              Containing expressions e.g. if (a < b) {}
            </li>
          </ol>
        </li>
        <li>
          brackets[]: brackets are mainly used in relation to arrays. e.g. to declare an aray arr one would say, var arr = [5]; Brackets can also be used to access or delete object properties e.g. delete object1[key], assuming key:value pairing in the object.
        </li>
        <li>
          braces {}: Braces are uswually used to enclose conditional statement or function bodies e.g. function func() {} Braces are also used for defining objects e.g. var object1 = {prop1: val1, prop2: val2}
        </li>
        <li>
          single quotes ' ': Traditionally, in other mainstream languages single quotes are used for characters, but in javascript single quotes can be used for strings as well.
        </li>
        <li>
          double quotes " ": Double quotes in mainstream languages and even in the english language text refers to strings. ANother benefit os using double quotes is one doesn;t have to espace single quotes ina  s stream of text e.g. "I'm a little tea-pot" vs 'I\'m a little tea-pot'<commit_msg>updated T6 blog<commit_after><!DOCTYPE html>
<html>
<head>
  <title>JavaScript Language</title>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css">
  <link rel="stylesheet" href="../styles/mainb.css">
</head>

<body>
  <div class="Container blog">
    <a id = "homelink" href = "blog-template.html">Back</a>
    <h2>T6 Javascript Language</h2>
    <p><strong>In the JavaScript language describe all the use cases for each of the follwing:</strong></p>
    <p>
      <ul>
        <li>parenthesis()
          <ol>
            <li>
              Define a function e.g. function f (parameter 1, parameter 2) {}
            </li>
            <li>
              Prioritizing expression calculations e.g. (a + b) + c
            </li>
            <li>
              Containing expressions e.g. if (a < b) {}
            </li>
          </ol>
        </li>
        <li>
          brackets[]: brackets are mainly used in relation to arrays. e.g. to declare an aray arr one would say, var arr = [5]; Brackets can also be used to access or delete object properties e.g. delete object1[key], assuming key:value pairing in the object.
        </li>
        <li>
          braces {}: Braces are uswually used to enclose conditional statement or function bodies e.g. function func() {} Braces are also used for defining objects e.g. var object1 = {prop1: val1, prop2: val2}
        </li>
        <li>
          single quotes ' ': Traditionally, in other mainstream languages single quotes are used for characters, but in javascript single quotes can be used for strings as well.
            On a side note, proponents of using single quotes in JS mention using less keystrokes = more productivity, and single quotes reduce the total number of characters, which results in less bandwidth usage! :)
        </li>
        <li>
          double quotes " ": Double quotes in mainstream languages and even in the english language text refers to strings. ANother benefit os using double quotes is one doesn;t have to espace single quotes ina  s stream of text e.g. "I'm a little tea-pot" vs 'I\'m a little tea-pot'
{'fraction_non_alphanumeric': 0.11288827074640705, 'fraction_numerical': 0.009040333796940195, 'mean_word_length': 2.499594484995945, 'pattern_counts': {'":': 2, '<': 83, '<?xml version=': 0, '>': 81, 'https://': 4, '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': '5490254', 'n_tokens_mistral': 1291, 'n_tokens_neox': 1238, 'n_words': 487}