const basket = [
{ "chanvre" : { "price": 23.39, "nb": 1 }},
{ "flapjack": { "price": 19.99, "nb": 2 }},
{ "farine" : { "price": 19.99, "nb": 3 }}
];
const basket2 = [{
- localhost http://localhost/mywebsite
- remote http://mywebsite.fr
UPDATE wp_options
SET option_value = replace(option_value, 'http://mywebsite.fr', 'http://localhost/mywebsite')
WHERE option_name = 'home'
Douglas Crockford’s code conventions for JavaScript recommend this pattern when privacy is important discouraging naming properties with the underscore prefix to indicate privacy.
var Person = (function() {
function Person(name) {
this.getName = function() {
return name;
I always used a unix environment to work and like it. I'm also a creative guy, sometimes I do graphism, design and don't like to switch OS to enjoy doing both. I heard of WSL and saw this as the forgotten messiah, so here a guide to install everything you will have to set up to enjoy both like me.
First we will need to activate the Windows Subsystem Linux (WSL).
- Run powershell as admin type in terminal
OlderNewer