diff --git a/src/usertiming.js b/src/usertiming.js
index <HASH>..<HASH> 100644
--- a/src/usertiming.js
+++ b/src/usertiming.js
@@ -453,8 +453,8 @@
             window.performance.measure = function (measureName, startMark, endMark) {
                 var now = window.performance.now();
 
-                if (!measureName) {
-                    throw new Error('Measure must be specified');
+                if (typeof(measureName) === 'undefined') {
+                    throw new SyntaxError('Measure must be specified');
                 }
 
                 // if there isn't a startMark, we measure from navigationStart to now
measure() without a measureName should do a typeof check instead of truthy, and throw a SyntaxError