We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c497183 commit 1c950ebCopy full SHA for 1c950eb
2 files changed
coercions-grid/grid.js
@@ -15,8 +15,6 @@
15
}
16
17
function formatValue(x) {
18
- var ret;
19
-
20
if (typeof x == "string") {
21
return "'" + x.replace(/\n/g,"\\n") + "'";
22
oldjs/es3.html
@@ -0,0 +1,17 @@
1
+<html>
2
+<p>ES3</p>
3
+<script>
4
+var str = "Hello World!";
5
+
6
+try {
7
+ var r = /^he/i;
8
+ if (r.test(str) === false) {
9
+ throw new Error("Oops!");
10
+ }
11
+ alert(str);
12
+}
13
+catch (err) {
14
+ alert(err);
+</script>
+</html>
0 commit comments