File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 1- \section* {\textrm {return} statements }
1+ \section* {\textrm {return} statements and function definition expressions }
22
33\begin {itemize }
4- \item \textrm {return} statements are only allowed in bodies of functions.
4+ \item Return statements are only allowed in bodies of functions.
55\item There cannot be any newline character between
6- $ \textbf {\texttt {return }}$ and $ \textit {expression} \
7- \textbf {\texttt {; }}$ .
6+ $ \textbf {\texttt {return }}$ and $ \textit {expression}$ in return statements.
7+ \item There cannot be any newline character between
8+ $ (\ \textit {name}\ | \ \textbf {\texttt {( }}\ \textit {parameters}\ \textbf {\texttt {) }}\ )$
9+ and
10+ $ \texttt {\textbf {=> }}$ in function definition expressions.
11+
812\end {itemize }
You can’t perform that action at this time.
0 commit comments