Skip to content
Snippets Groups Projects
Commit 51707934 authored by Robert Brignull's avatar Robert Brignull Committed by Marijn Haverbeke
Browse files

[completion demo] Fix check for undefined

parent ea8aa6b9
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
mode: {name: "javascript", globalVars: true}
});
if (typeof Promise !== undefined) {
if (typeof Promise !== "undefined") {
var comp = [
["here", "hither"],
["asynchronous", "nonsynchronous"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment