diff --git a/packages/svelte/src/reactivity/media-query.js b/packages/svelte/src/reactivity/media-query.js index cb569f85c6..4e3f11c145 100644 --- a/packages/svelte/src/reactivity/media-query.js +++ b/packages/svelte/src/reactivity/media-query.js @@ -3,12 +3,12 @@ import { ReactiveValue } from './reactive-value.js'; const parenthesis_regex = /\(.+\)/; -// this keyworks are valid media queries but they need to be without parenthesis +// these keywords are valid media queries but they need to be without parenthesis // // eg: new MediaQuery('screen') // // however because of the auto-parenthesis logic in the constructor since there's no parentehesis -// in the media query they'll be surrounded by parentehesis +// in the media query they'll be surrounded by parenthesis // // however we can check if the media query is only composed of these keywords // and skip the auto-parenthesis