From bd087d0be124816bb063a342258953cbae2caebd Mon Sep 17 00:00:00 2001 From: Pat Myron Date: Tue, 12 Feb 2019 22:43:32 -0500 Subject: [PATCH] Standardizing break/continue rows for Node.js The other columns simply list the keyword without an example context --- markup/scripting | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/markup/scripting b/markup/scripting index 67284cb..8f2a408 100644 --- a/markup/scripting +++ b/markup/scripting @@ -1774,19 +1774,9 @@ end|| @<  >@echo "$i\n"; _ }||##gray|//none//##|| ||[[# break]][#break-note break] _ -@< >@||for (let i = 30; i < 50; ++i) { _ -@<  >@if (i % 7 === 0) { _ -@<  >@@<  >@console.log('first multiple: ' + i); _ -@<  >@@<  >@break; _ -@<  >@} _ -}||break||break||break|| +@< >@||break||break||break||break|| ||[[# continue]][#continue-note continue] _ -@< >@||for (let i = 30; i < 50; ++i) { _ -@<  >@if (i % 7 === 0) { _ -@<  >@@<  >@continue; _ -@<  >@} _ -@<  >@console.log('not divisible: ' + i); _ -}||continue||continue||next|| +@< >@||continue||continue||continue||next|| ||[[# statement-modifiers]][#statement-modifiers-note statement modifiers] _ @< >@||##gray|//none//##||##gray|//none//##||##gray|//none//##||puts "positive" if i > 0 _ puts "nonzero" unless i == 0|| @@ -4885,4 +4875,4 @@ Ruby MRI threads are operating system threads, but a global interpreter lock pre [[# wait-on-thread-note]] ++ [#wait-on-thread wait on thread] -How to make a thread wait for another thread to finish. \ No newline at end of file +How to make a thread wait for another thread to finish.