diff --git a/lib/sylkrtc.js b/lib/sylkrtc.js index 70fbd69..1dd4509 100644 --- a/lib/sylkrtc.js +++ b/lib/sylkrtc.js @@ -1,22 +1,22 @@ 'use strict'; import rtcninja from 'rtcninja'; import { Connection } from './connection'; // Public API function createConnection(options = {}) { if (!rtcninja.hasWebRTC()) { throw new Error('WebRTC support not detected'); } - let conn = new Connection(options); + const conn = new Connection(options); conn._initialize(); return conn; } export { createConnection };