Debian Codegraph @

rhino/testsrc/doctests/473761.doctest

raw
1 // This Source Code Form is subject to the terms of the Mozilla Public
2 // License, v. 2.0. If a copy of the MPL was not distributed with this
3 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5 js> var xml = <xml><customer><name></name></customer></xml>;
6 js> var order = xml.customer.order;
7 js> order.orderid = "1";
8 1
9 js> order.test = "expected_string";
10 expected_string
11 js> xml.customer.order.test;
12 expected_string