mirror of https://github.com/tc39/test262.git
fix: comparing typeof expression
This commit is contained in:
parent
92003a3e52
commit
0fd614f732
|
@ -73,7 +73,7 @@ function Section(parentSection, id, name) {
|
|||
this.toHTML = function(options) {
|
||||
var defaultOptions = {header: false, renderSubsections: true};
|
||||
|
||||
if (typeof options === undefined) {
|
||||
if (typeof options === "undefined") {
|
||||
options = defaultOptions;
|
||||
} else {
|
||||
options = $.extend(defaultOptions, options);
|
||||
|
|
Loading…
Reference in New Issue