Skip to content

Commit 23aaca5

Browse files
committed
error string typos
1 parent ce14703 commit 23aaca5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xs/sources/xsAtomics.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016-2017 Moddable Tech, Inc.
2+
* Copyright (c) 2016-2026 Moddable Tech, Inc.
33
*
44
* This file is part of the Moddable SDK Runtime.
55
*
@@ -370,7 +370,7 @@ void fx_SharedArrayBuffer(txMachine* the)
370370
property->value.host.data = fxCreateSharedChunk((txInteger)byteLength);
371371
if (!property->value.host.data) {
372372
property->value.host.variant.destructor = NULL;
373-
mxRangeError("cannot allocate SharedArrayBuffer insatnce");
373+
mxRangeError("cannot allocate SharedArrayBuffer instance");
374374
}
375375
property->value.host.variant.destructor = fxReleaseSharedChunk;
376376
property = property->next = fxNewSlot(the);
@@ -422,7 +422,7 @@ void fx_SharedArrayBuffer_prototype_grow(txMachine* the)
422422
mxRangeError("newLength < byteLength");
423423
if (newByteLength > maxByteLength)
424424
mxRangeError("newLength > maxByteLength");
425-
mxRangeError("cannot grow SharedArrayBuffer insatnce");
425+
mxRangeError("cannot grow SharedArrayBuffer instance");
426426
}
427427

428428
void fx_SharedArrayBuffer_prototype_slice(txMachine* the)

0 commit comments

Comments
 (0)