diff --git a/1-js/04-object-basics/01-object/variable-copy-value.svg b/1-js/04-object-basics/01-object/variable-copy-value.svg index 37b1fe86..e09f521f 100644 --- a/1-js/04-object-basics/01-object/variable-copy-value.svg +++ b/1-js/04-object-basics/01-object/variable-copy-value.svg @@ -1 +1 @@ -"Hello!"message"Hello!"phras e \ No newline at end of file +"Hello!"message"Hello!"phrase \ No newline at end of file diff --git a/1-js/07-object-properties/01-property-descriptors/article.md b/1-js/07-object-properties/01-property-descriptors/article.md index 43bede82..11e14221 100644 --- a/1-js/07-object-properties/01-property-descriptors/article.md +++ b/1-js/07-object-properties/01-property-descriptors/article.md @@ -248,14 +248,12 @@ Object.defineProperty(user, "name", {writable: true}); // Error */!* ``` -```smart header="Non-configurable doesn't mean \"non-writable\"" +```smart header="\"Non-configurable\" doesn't mean \"non-writable\"" Notable exception: a value of non-configurable, but writable property can be changed. The idea of `configurable: false` is to prevent changes to property flags and its deletion, not changes to its value. ``` - - ## Object.defineProperties There's a method [Object.defineProperties(obj, descriptors)](mdn:js/Object/defineProperties) that allows to define many properties at once. diff --git a/5-network/07-url/article.md b/5-network/07-url/article.md index d7250d50..b2e11b59 100644 --- a/5-network/07-url/article.md +++ b/5-network/07-url/article.md @@ -155,7 +155,7 @@ A natural question is: "What's the difference between `encodeURIComponent` and ` That's easy to understand if we look at the URL, that's split into components in the picture above: ``` -http://site.com:8080/path/page?p1=v1&p2=v2#hash +https://site.com:8080/path/page?p1=v1&p2=v2#hash ``` As we can see, characters such as `:`, `?`, `=`, `&`, `#` are allowed in URL. diff --git a/5-network/07-url/url-object.svg b/5-network/07-url/url-object.svg index 80da6fec..e7611d97 100644 --- a/5-network/07-url/url-object.svg +++ b/5-network/07-url/url-object.svg @@ -1 +1 @@ -hreforiginhostproto colhostnameportpathnamesearchhash \ No newline at end of file +hreforiginhostprotocolhostnameportpathnamesearchhash \ No newline at end of file diff --git a/figures.sketch b/figures.sketch index 37a881e6..faa3e655 100644 Binary files a/figures.sketch and b/figures.sketch differ