Tuesday, 21 July 2015
Thursday, 9 July 2015
When `new`-ing up a function e.g:
What happens is that a new object is created which `this` reference is set to. Therefore this new object will get its `forename` and `surname` properties set.
The `apply` function works exactly like `call` but it expects an array containing the arguments to the function rather "listing out" the arguments:
If I type in a double quote, the it will produce two:
Don't know if this is the correct solution.
Wednesday, 8 July 2015
By default, OpenOffice will replace a double quote with curly double quotes. To disable this, go to `Tools` → `AutoCorrect Options`, the `Localised Options` tab and then uncheck `Replace` in the section `Double Quotes`.