diff --git a/tests/integration/jquery-calls.js b/tests/integration/jquery-calls.js index a8083b91..ba34f32a 100644 --- a/tests/integration/jquery-calls.js +++ b/tests/integration/jquery-calls.js @@ -42,7 +42,7 @@ test('initializes correctly when jQuery $.data contains cyclic reference object' // Add a circular reference object using jQuery. var recursiveObject = {}; - recursiveObject['same'] = recursiveObject; + recursiveObject.same = recursiveObject; $select.data('same', recursiveObject);