Jump to content

Inverted syntax: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 1,477:
 
Again, simulating inverted syntax with assignment is not possible.
<syntaxhighlight lang="ecmascriptwren">class IBool {
construct new(b) {
if (!(b is Bool)) Fiber.abort("B must be a boolean")
9,488

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.