What's new with js

This commit is contained in:
Jeremy Likness
2020-01-28 13:41:29 -08:00
parent dad9a93078
commit 2086a20e3c
7 changed files with 117 additions and 35 deletions

View File

@@ -0,0 +1,13 @@
<title>String Power</title>
<h1>String Power</h1>
<pre>
const code = "Pure JavaScript and clean code make great apps";
</pre>
<pre class="appear">
if (code.startsWith("Pure JavaScript") &&
code.includes("clean code")) {
console.log(`${code} is ${code.endsWith("great apps")}`);
}
</pre>
<pre class="appear">"Pure JavaScript and clean code make great apps is true"</pre>
<next-slide>140-spread-operator</next-slide>