Skip to content

Commit

Permalink
fix typos (#38186)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Feb 18, 2025
1 parent 45ee288 commit 5f19615
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 4 deletions.
1 change: 1 addition & 0 deletions .vscode/dictionaries/code-entities.txt
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ keywordsearch
khmr
KIND_NONHEAP
knda
Kore
krai
lanatham
laoo
Expand Down
5 changes: 5 additions & 0 deletions .vscode/dictionaries/ignore-list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ ACEFGHIJKLMN
aceghijklmop
adipscing
aeio
aeiou
aliquyam
animometer
annunaki
Expand Down Expand Up @@ -52,12 +53,14 @@ bleh
BlYAJQFz
bobsmith
bologi
booh
bookinst
BOOKINSTANCE
bookinstances
Bookmarksgrove
boooo
booooed
boooooooh
borderify
boxbg
BRAH
Expand Down Expand Up @@ -112,6 +115,7 @@ dubby
Duden
dXNlcm5hbWU6cGFzc3dvcmQ
EACC
easi
efregre
eirmod
elitr
Expand Down Expand Up @@ -267,6 +271,7 @@ screenleft-screentop
Scrupulum
seakale
serverstart
shhhh
skjfndskjfnbdskjfb
snapsvg.io
soclis
Expand Down
2 changes: 2 additions & 0 deletions .vscode/dictionaries/non-english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Congrès
contenido
couleur
dans
demeure
Deutsch
deutsches
Dezember
Expand All @@ -35,6 +36,7 @@ heure
hoja
homme
ijsland
İstanbul
Mais
Majestatis
minuto
Expand Down
2 changes: 2 additions & 0 deletions .vscode/dictionaries/proper-names.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Amit
Amorim
AMPPS
Amstelvar
Amélie
Anand
ANDI
Andreessen
Expand Down Expand Up @@ -491,6 +492,7 @@ Rocher
Rohini
Ronaldo
Roselli
Rossi
Roushan
rsvg
rubentd
Expand Down
2 changes: 2 additions & 0 deletions .vscode/dictionaries/terms-abbreviations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ overscript
overscripts
overscrolling
packetizer
packetizing
pageload
paintable
pantherina
Expand Down Expand Up @@ -522,6 +523,7 @@ QCIF
QCMS
QPACK
QTFF
qtrs
quantizer
quarternion
querysets
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/css/css_syntax/syntax/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Rulesets are the main building blocks of a style sheet, which often consists of

A **statement** is a building block that begins with any non-space characters and ends at the first closing brace or semicolon (outside a string, non-escaped and not included into another {}, () or \[] pair).

![A Venn diagram of statements noting all rulesets are nested statements, while some at-rules are nested statements but most aren't. Anthing that is not an at-rule or nested is invalid.](css_syntax_-_statements_venn_diag.png)
![A Venn diagram of statements noting all rulesets are nested statements, while some at-rules are nested statements but most aren't. Anything that is not an at-rule or nested is invalid.](css_syntax_-_statements_venn_diag.png)

There are two kinds of statements:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ browser-compat: javascript.builtins.RegExp.@@replace

The **`[Symbol.replace]()`** method of {{jsxref("RegExp")}} instances specifies how [`String.prototype.replace()`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace) and [`String.prototype.replaceAll()`](/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replaceAll) should behave when the regular expression is passed in as the pattern.

{{InteractiveExample("JavaScript Demo: RegExp.prototype[SYmbol.replace]()")}}
{{InteractiveExample("JavaScript Demo: RegExp.prototype[Symbol.replace]()")}}

<!-- cSpell:ignore tball -->

```js interactive-example
class RegExp1 extends RegExp {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ The **`String.raw()`** static method is a tag function of [template literals](/e
```js interactive-example
// Create a variable that uses a Windows
// path without escaping the backslashes:
const filePath = String.raw`C:\Development\profile\aboutme.html`;
const filePath = String.raw`C:\Development\profile\about.html`;

console.log(`The file was uploaded from: ${filePath}`);
// Expected output: "The file was uploaded from: C:\Development\profile\aboutme.html"
// Expected output: "The file was uploaded from: C:\Development\profile\about.html"
```

## Syntax
Expand Down

0 comments on commit 5f19615

Please sign in to comment.