Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

History/ JavaScript basics

Revisions

  • Corrected some typos.

    @grege2grege2 committedJan 11, 2022
  • Clarify that string[index] = newchar doesn't work

    @grege2grege2 committedJul 9, 2021
  • Add Destructuring Assignments to the Assigment section.

    @grege2grege2 committedJul 9, 2021
  • Add charAt() and direct str[index], alongside str.substr() and str.substring()

    @grege2grege2 committedJul 9, 2021
  • Add info on testing for empty arrays.

    @grege2grege2 committedDec 18, 2020
  • Added some info about easy JS string comparison, ie. if (str1 === "sometext") // do something

    @grege2grege2 committedOct 19, 2020
  • Clarify the Switch and Case description, esp. that case uses exact === comparison, so case 1 and case "1" are different.

    @grege2grege2 committedOct 14, 2020
  • Updated JavaScript basics (markdown)

    @lmccartlmccart committedJun 17, 2019
  • Add "JavaScript Versions" to the TOC

    @grege2grege2 committedFeb 26, 2019
  • Completed an update of the whole tut, done through Jan/Feb 2019. Improvements always welcome.

    @grege2grege2 committedFeb 12, 2019
  • More minor updates. Done down to "Rest Arguments"

    @grege2grege2 committedFeb 12, 2019
  • More tiny edits, and var -> let changes.

    @grege2grege2 committedJan 28, 2019
  • More small cleanups, and change var to let.

    @grege2grege2 committedJan 28, 2019
  • More small updates: mostly var -> let

    @grege2grege2 committedJan 28, 2019
  • Considerable number of very minor updates, just improving clarity. Also including update to ES6: only change var to let in this tranche.

    @grege2grege2 committedJan 28, 2019
  • Add a reference to the site caniuse.com in the section on JavaScript versions.

    @grege2grege2 committedJan 10, 2019
  • Make a note in To Do section that this tutorial could maybe be split into two.

    @grege2grege2 committedDec 29, 2018
  • Added a To Do item at the end to mention the Data utility functions suite in p5.js - append(), float(), join() etc.

    @grege2grege2 committedDec 27, 2018
  • Add "let n" to the for of/each/in examples. Good to keep scope of loop variables restricted.

    @grege2grege2 committedDec 23, 2018
  • More words in the final To Do section about the ES5 - ES6 changes in p5.js documentation.

    @grege2grege2 committedDec 17, 2018
  • Updated JavaScript basics (markdown)

    @grege2grege2 committedDec 17, 2018
  • Add a warning about multiple assignment of arrays, eg. arr1 = arr2 = [1,2,3]

    @grege2grege2 committedDec 14, 2018
  • Corrected Math.power() to Math.pow() in notes on ** operator

    @grege2grege2 committedDec 12, 2018
  • Add an item to the final To Do to reflect the work starting in p5.js to update code examples to ES6.

    @grege2grege2 committedDec 11, 2018
  • Added the string "replace" method to the list of useful string functions: str2 = str1.replace(/a/, "b");

    @grege2grege2 committedDec 11, 2018
  • Renamed "data[2]" array reference to "stuff[2]", as the array referred to was named "stuff".

    @johannesklevjohannesklev committedJun 8, 2018
  • Add the repeat() method on strings to generate a string of repeated characters

    @grege2grege2 committedApr 4, 2018
  • Add some thoughts to the To Do at the end.

    @grege2grege2 committedMar 28, 2018
  • Updated JavaScript basics (markdown)

    @grege2grege2 committedMar 26, 2018
  • Add parseFloat(). Note that p5.js brings Math.sqrt() back out to sqrt() etc.

    @grege2grege2 committedMar 26, 2018
NewerOlder

[8]ページ先頭

©2009-2025 Movatter.jp